Merge pull request #20496 from hyarion/refactor/cppify-constants

This commit is contained in:
Chris Hennes
2025-03-29 18:43:40 -05:00
committed by GitHub
322 changed files with 1791 additions and 1654 deletions

View File

@@ -155,7 +155,7 @@ void ViewProviderAnnotation::onChanged(const App::Property* prop)
}
}
else if (prop == &Rotation) {
pRotationXYZ->angle = (Rotation.getValue()/360)*(2*M_PI);
pRotationXYZ->angle = (Rotation.getValue()/360)*(2*std::numbers::pi);
}
else {
ViewProviderDocumentObject::onChanged(prop);