[osg-users] Matrixf and Quat problem

Vincent Bourdier vincent.bourdier at gmail.com
Fri Mar 14 04:06:35 PDT 2008


Yes !!!

thank you very much :-)

Vincent.

2008/3/14, Ralph Kern <usenet04 at rk-se.de>:
>
> Vincent Bourdier schrieb:
>
> > I've located my problem, and this time I don't know why it doesn't
> > change anything...
> >
> >
> > osg::Matrixf MR = osg::Matrixf::identity();
> > MR.rotate(angle*osg::PI/180.0, rotaxis);
> >
>
>
> rotate is a static member which gives the rotation matrix as a result.
>
> Either use MR = osg::Matrixf::rotate( ... ) or use MR.makeRotate(...)
>
> regards Ralph
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080314/14b0bcbe/attachment.htm 


More information about the osg-users mailing list