Logo Search packages:      
Sourcecode: blender version File versions  Download package

btQuaternion::btQuaternion ( const btScalar &  yaw,
const btScalar &  pitch,
const btScalar &  roll 
) [inline]

Constructor from Euler angles.

Parameters:
yaw Angle around Y unless BT_EULER_DEFAULT_ZYX defined then Z
pitch Angle around X unless BT_EULER_DEFAULT_ZYX defined then Y
roll Angle around Z unless BT_EULER_DEFAULT_ZYX defined then X

Definition at line 47 of file btQuaternion.h.

References setEuler(), and setEulerZYX().

      { 
#ifndef BT_EULER_DEFAULT_ZYX
            setEuler(yaw, pitch, roll); 
#else
            setEulerZYX(yaw, pitch, roll); 
#endif 
      }


Generated by  Doxygen 1.6.0   Back to index