Techdraw: Use std::numeric_limits and std::numbers instead of defines
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user