diff --git a/wrap/gui/coordinateframe.cpp b/wrap/gui/coordinateframe.cpp index 7b1cac71..fde0caa4 100644 --- a/wrap/gui/coordinateframe.cpp +++ b/wrap/gui/coordinateframe.cpp @@ -273,7 +273,7 @@ Quaternionf MovableCoordinateFrame::GetRotation() void MovableCoordinateFrame::Rot(float angle_deg,const Point3f axis) { Similarityf s; - s.SetRotate(angle_deg*M_PI/180.0f,(rotation).Rotate(axis)); + s.SetRotate(math::ToRad(angle_deg),(rotation).Rotate(axis)); Move(s); }