On 5/12/12 15:36, michael kapelko wrote:
> Hi. I can't understand what units (degrees? radians?) Quat::makeRotate 
> accepts.
> I tried to pass degrees, and it wasn't it (with small angle increase there 
> was large
> rotation).
> I tried to pass radians with the help of DegreesToRadians, and then it's not 
> it, too (when
> angle was going from 1 to 14, the screen rotated 3 times).
> So what it is then?

Radians.
Check your assumptions - depending on your usage, applying a Quat(14deg) might 
rotate the
object 14deg every frame!

/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to