From d3ac368bd5d3926b438b88f4038d877f38c0584e Mon Sep 17 00:00:00 2001 From: cignoni Date: Sun, 13 Jul 2008 07:41:20 +0000 Subject: [PATCH] Updated references of SetRotate to the new SetRotateDeg/SetRotateRad interface --- wrap/gui/coordinateframe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }