On 2/2/07, Whitfield, John M. (SED/TMI)
<[EMAIL PROTECTED]> wrote:
Classification:  UNCLASSIFIED
Caveats: NONE

What I really need to do is rotate a three different angles in different
planar directions about one axis, how would I use one of those matrix
functions to do that.

To put it simpler, I want to rotate the x-y axis off the z, the y-z off
the x, and the x-z off the y.


A singel rotation about the z axis is done by:

 osg::Matrix::rotate(angle, osg::Vec3(0,0,1));

If you want to follow these up with other rotations then just repeat
this three times for each axis.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to