Techdraw: Use std::numeric_limits and std::numbers instead of defines

This commit is contained in:
Benjamin Nauck
2025-03-27 19:02:45 +01:00
parent f5244d404c
commit bfdaa9aab2
40 changed files with 243 additions and 220 deletions

View File

@@ -113,7 +113,7 @@ void TaskCosmeticLine::setUiPrimary()
setWindowTitle(QObject::tr("Create Cosmetic Line"));
// double rotDeg = m_partFeat->Rotation.getValue();
// double rotRad = rotDeg * M_PI / 180.0;
// double rotRad = rotDeg * std::numbers::pi / 180.0;
Base::Vector3d centroid = m_partFeat->getCurrentCentroid();
Base::Vector3d p1, p2;
if (m_is3d.front()) {