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

panda/src/linmath/lmat_ops_src.I File Reference

Go to the source code of this file.

Functions

INLINE_LINMATH FLOATNAME (LVecBase3) operator *(const FLOATNAME(LVecBase3)&v
 Returns the indicated row of the matrix as a three-component vector.

INLINE_LINMATH const FLOATNAME (LMatrix3)&m)
 Sets each element of the matrix to the indicated fill_value.

INLINE_LINMATH FLOATNAME (LVector3) operator *(const FLOATNAME(LVector3)&v
 This, along with get_angle(), returns the rotation represented by the quaternion as an angle about an arbitrary axis.

INLINE_LINMATH FLOATNAME (LPoint3) operator *(const FLOATNAME(LPoint3)&v
 This is a three-component point in space (as opposed to a three-component vector, which represents a direction and a distance).

INLINE_LINMATH FLOATNAME (LVector2) operator *(const FLOATNAME(LVector2)&v
 Returns a normalized vector from the given vector.

INLINE_LINMATH FLOATNAME (LPoint2) operator *(const FLOATNAME(LPoint2)&v
 This is a two-component point in space.

INLINE_LINMATH FLOATNAME (LVecBase4) operator *(const FLOATNAME(LVecBase4)&v
 Retrieves the indicated row of the matrix as a 4-component vector.

INLINE_LINMATH const FLOATNAME (LMatrix4)&m)
 Sorts matrices lexicographically, componentwise.

INLINE_LINMATH FLOATNAME (LVector4) operator *(const FLOATNAME(LVector4)&v
 Returns a normalized vector from the given vector.

INLINE_LINMATH FLOATNAME (LPoint4) operator *(const FLOATNAME(LPoint4)&v
 This is a four-component point in space.


Detailed Description

Definition in file lmat_ops_src.I.


Function Documentation

INLINE_LINMATH FLOATNAME LPoint4   ) 
 

This is a four-component point in space.

Definition at line 63 of file lcast_to_src.I.

INLINE_LINMATH FLOATNAME LVector4   ) 
 

Returns a normalized vector from the given vector.

Returns true if the vector was normalized, false if it was a zero-length vector.

Definition at line 48 of file lcast_to_src.I.

References FLOATNAME2, and INLINE_LINMATH.

INLINE_LINMATH const FLOATNAME LMatrix4   ) 
 

Sorts matrices lexicographically, componentwise.

Returns a number less than 0 if this matrix sorts before the other one, greater than zero if it sorts after, 0 if they are equivalent (within the indicated tolerance).

Definition at line 78 of file lmat_ops_src.I.

INLINE_LINMATH FLOATNAME LVecBase4   ) 
 

Retrieves the indicated row of the matrix as a 4-component vector.

This is a fully general operation.

INLINE_LINMATH FLOATNAME LPoint2   ) 
 

This is a two-component point in space.

Definition at line 53 of file lcast_to_src.I.

INLINE_LINMATH FLOATNAME LVector2   ) 
 

Returns a normalized vector from the given vector.

Returns true if the vector was normalized, false if it was a zero-length vector.

INLINE_LINMATH FLOATNAME LPoint3   ) 
 

This is a three-component point in space (as opposed to a three-component vector, which represents a direction and a distance).

Some of the methods are slightly different between LPoint3 and LVector3; in particular, subtraction of two points yields a vector, while addition of a vector and a point yields a point.

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.

INLINE_LINMATH const FLOATNAME LMatrix3   ) 
 

Sets each element of the matrix to the indicated fill_value.

This is of questionable value, but is sometimes useful when initializing to zero.

Definition at line 31 of file lmat_ops_src.I.

INLINE_LINMATH FLOATNAME LVecBase3   ) 
 

Returns the indicated row of the matrix as a three-component vector.

This is a fully general operation.


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