GClasses
|
Represents a 3x3 matrix.
#include <G3D.h>
Public Member Functions | |
void | copy (G3DMatrix *pThat) |
copies pThat More... | |
void | deserialize (GDomNode *pNode) |
deserializes this matrix More... | |
double | dotColumn (const G3DVector *pVec, int column) const |
Computes the dot-product of pVec with the specified column of this matrix. More... | |
void | makeAxisRotationMatrix (int axis, double radians) |
Creates a matrix for rotating about the specified axis. More... | |
void | makeRandom (GRand *pRand) |
Creates a matrix comprised of a random set of orthonormal basis vectors. More... | |
void | multiply (double d) |
multiplies this by d More... | |
void | multiply (const G3DVector *pVecIn, G3DVector *pVecOut) |
pVecOut = this x pVecIn More... | |
void | multiply (const G3DMatrix *pA, const G3DMatrix *pB) |
this = pA x pB More... | |
GDomNode * | serialize (GDom *pDoc) const |
serializes this matrix More... | |
void | setToIdentity () |
sets this to the identity matrix More... | |
Public Attributes | |
G3DVector | m_rows [3] |
|
inline |
copies pThat
void GClasses::G3DMatrix::deserialize | ( | GDomNode * | pNode | ) |
deserializes this matrix
|
inline |
Computes the dot-product of pVec with the specified column of this matrix.
void GClasses::G3DMatrix::makeAxisRotationMatrix | ( | int | axis, |
double | radians | ||
) |
Creates a matrix for rotating about the specified axis.
void GClasses::G3DMatrix::makeRandom | ( | GRand * | pRand | ) |
Creates a matrix comprised of a random set of orthonormal basis vectors.
|
inline |
multiplies this by d
pVecOut = this x pVecIn
this = pA x pB
|
inline |
sets this to the identity matrix
G3DVector GClasses::G3DMatrix::m_rows[3] |