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

Does anyone know the meaning of the parameters being input in this and
other rotation functions?

Matrixd osg::Matrixd::rotate  (  value_type  angle1,
  const Vec3d &  axis1,
  value_type  angle2,
  const Vec3d &  axis2,
  value_type  angle3,
  const Vec3d &  axis3
 )  [inline, static]

Its simply as set of three rotations about three axis.  The angles are
in degrees.  Its equivilant to

 osg::Matrix::rotate(angle1, vec1) * osg::Matrix::rotate(angle2,
vec3)  * osg::Matrix::rotate(angle3, vec3)

Its typically used for doing things like euler angles.

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

Reply via email to