#include "lcast_to_src.I"
Go to the source code of this file.
Functions | |
INLINE_LINMATH | FLOATNAME2 (LVecBase2) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LVecBase2)&source) |
Returns the indicated row of the matrix as a two-component vector, ignoring the last column. | |
INLINE_LINMATH | FLOATNAME2 (LVecBase3) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LVecBase3)&source) |
Returns the indicated row of the matrix as a three-component vector. | |
INLINE_LINMATH | FLOATNAME2 (LVecBase4) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LVecBase4)&source) |
Retrieves the indicated row of the matrix as a 4-component vector. | |
INLINE_LINMATH | FLOATNAME2 (LVector2) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LVector2)&source) |
Returns a normalized vector from the given vector. | |
INLINE_LINMATH | FLOATNAME2 (LVector3) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LVector3)&source) |
This, along with get_angle(), returns the rotation represented by the quaternion as an angle about an arbitrary axis. | |
INLINE_LINMATH | FLOATNAME2 (LVector4) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LVector4)&source) |
Returns a normalized vector from the given vector. | |
INLINE_LINMATH | FLOATNAME2 (LPoint2) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LPoint2)&source) |
This is a two-component point in space. | |
INLINE_LINMATH | FLOATNAME2 (LPoint3) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LPoint3)&source) |
This is a three-component point in space (as opposed to a three-component vector, which represents a direction and a distance). | |
INLINE_LINMATH | FLOATNAME2 (LPoint4) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LPoint4)&source) |
This is a four-component point in space. | |
INLINE_LINMATH | FLOATNAME2 (LQuaternion) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LQuaternion)&c) |
This is the base quaternion class. | |
INLINE_LINMATH | FLOATNAME2 (LMatrix3) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LMatrix3)&source) |
Sets each element of the matrix to the indicated fill_value. | |
INLINE_LINMATH | FLOATNAME2 (LMatrix4) lcast_to(FLOATTYPE2 * |
INLINE_LINMATH const | FLOATNAME (LMatrix4)&source) |
Sorts matrices lexicographically, componentwise. |
Definition in file lcast_to_src.h.
|
Sorts matrices lexicographically, componentwise. This function definition must appear first, since some inline functions below take advantage of it. Definition at line 81 of file lcast_to_src.I. |
|
Sets each element of the matrix to the indicated fill_value. This function definition must appear first, since some inline functions below take advantage of it. Definition at line 73 of file lcast_to_src.I. |
|
This is the base quaternion class. It simply returns the rhs. Definition at line 68 of file lcast_to_src.I. |
|
This is a four-component point in space.
Definition at line 63 of file lcast_to_src.I. |
|
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. Definition at line 58 of file lcast_to_src.I. |
|
This is a two-component point in space.
Definition at line 53 of file lcast_to_src.I. |
|
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. |
|
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 43 of file lcast_to_src.I. |
|
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 38 of file lcast_to_src.I. |
|
Retrieves the indicated row of the matrix as a 4-component vector. This is a fully general operation. Definition at line 33 of file lcast_to_src.I. |
|
Returns the indicated row of the matrix as a three-component vector. This is a fully general operation. Definition at line 28 of file lcast_to_src.I. |
|
Returns the indicated row of the matrix as a two-component vector, ignoring the last column. The next element occupies the next position consecutively in memory. Definition at line 23 of file lcast_to_src.I. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|