| - Cal3D 0.9 API Reference - |
#include <matrix.h>
Public Methods | |
| CalMatrix () | |
| Constructs the matrix instance. More... | |
| CalMatrix (const CalQuaternion &q) | |
| Quaternion to Matrix Conversion Constructor. More... | |
| CalMatrix (float weight, const CalMatrix &m) | |
| Matrix Initialization. More... | |
| ~CalMatrix () | |
| Destructs the matrix instance. More... | |
| void | operator= (const CalQuaternion &q) |
| Quaternion to Matrix Conversion. More... | |
| void | operator= (const CalMatrix &m) |
| Copying a Matrix. More... | |
| void | operator *= (const CalMatrix &m) |
| Matrix Multiplication. More... | |
| void | operator *= (float factor) |
| Matrix Scaling. More... | |
| void | blend (float d, const CalMatrix &m) |
| Matrix Blending. More... | |
| float | det () |
| Matrix determinant. More... | |
Public Attributes | |
| float | dxdx |
| float | dxdy |
| float | dxdz |
| float | dydx |
| float | dydy |
| float | dydz |
| float | dzdx |
| float | dzdy |
| float | dzdz |
|
|
Constructs the matrix instance. This function is the default constructor of the matrix instance. |
|
|
Quaternion to Matrix Conversion Constructor. This function converts a quaternion into a rotation matrix. |
|
||||||||||||
|
Matrix Initialization. This function sets one matrix to a factor times another. |
|
|
Destructs the matrix instance. This function is the destructor of the matrix instance. |
|
||||||||||||
|
Matrix Blending. This function adds a weight times another matrix to the current matrix. |
|
|
Matrix determinant. This function compute the determinant of the matrix. |
|
|
Matrix Scaling. This function multiplies every element in the matrix by the factor. |
|
|
Matrix Multiplication. This function multiplies two matrices. |
|
|
Copying a Matrix. This function copies one matrix into another. |
|
|
Quaternion to Matrix Conversion. This function converts a quaternion into a rotation matrix. |
1.2.14
© 1997-2001
Dimitri van Heesch