Updated references of SetRotate to the new SetRotateDeg/SetRotateRad interface

This commit is contained in:
Paolo Cignoni 2008-07-13 07:41:20 +00:00
parent 51dde5296f
commit d3ac368bd5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}