Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/linmath/lquaternion_src.I File Reference

Go to the source code of this file.

Functions

INLINE_LINMATH FLOATNAME (LQuaternion)
 This is the base quaternion class.

INLINE_LINMATH FLOATNAME (LVecBase3) FLOATNAME(LQuaternion)
 Transforms a 3-d vector by the indicated rotation.

INLINE_LINMATH FLOATNAME (LMatrix3) FLOATNAME(LQuaternion)
 Quat * Matrix = matrix.

INLINE_LINMATH FLOATNAME (LMatrix4) FLOATNAME(LQuaternion)
 Sorts matrices lexicographically, componentwise.

INLINE_LINMATH FLOATNAME (LVector3) FLOATNAME(LQuaternion)
 This, along with get_angle(), returns the rotation represented by the quaternion as an angle about an arbitrary axis.


Detailed Description

Definition in file lquaternion_src.I.


Function Documentation

INLINE_LINMATH FLOATNAME LVector3   ) 
 

This, along with get_angle(), returns the rotation represented by the quaternion as an angle about an arbitrary axis.

This returns the axis.

Definition at line 240 of file lquaternion_src.I.

References FLOATTYPE, and INLINE_LINMATH.

INLINE_LINMATH FLOATNAME LMatrix4   ) 
 

Sorts matrices lexicographically, componentwise.

This function definition must appear first, since some inline functions below take advantage of it.

Definition at line 154 of file lquaternion_src.I.

References FLOATNAME, FLOATTYPE, INLINE_LINMATH, and NEARLY_ZERO.

INLINE_LINMATH FLOATNAME LMatrix3   )  const
 

Quat * Matrix = matrix.

Definition at line 139 of file lquaternion_src.I.

INLINE_LINMATH FLOATNAME LVecBase3   ) 
 

Transforms a 3-d vector by the indicated rotation.

The remaining elements occupy the next positions consecutively in memory.

Definition at line 66 of file lquaternion_src.I.

References FLOATNAME, FLOATTYPE, and INLINE_LINMATH.

INLINE_LINMATH FLOATNAME LQuaternion   ) 
 

This is the base quaternion class.

This returns the angle, in degrees counterclockwise about the axis.

Definition at line 29 of file lquaternion_src.I.

References FLOATNAME, and INLINE_LINMATH.


Generated on Fri May 2 00:45:51 2003 for Panda by doxygen1.3