HPL3/SOMA/Scripting/cMatrixf
Jump to navigation
Jump to search
A 4x4 matrix which stores its elements as floats.
Contents
Constructors
Constructor | Description |
---|---|
cMatrixf() |
Creates a matrix with default values. |
cMatrixf(cVector4f, cVector4f, cVector4f, cVector4f) |
Creates a matrix using the given vectors as column data. |
cMatrixf(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float) |
Creates a matrix using the given values as cell data. |
Fields
cMatrixf has no public fields.
Functions
Return Type | Function Name | Parameters | Description |
---|---|---|---|
float |
GetElement | uint64 ,uint64 |
|
cVector3f |
GetForward | ||
cVector3f |
GetRight | ||
cMatrixf |
GetRotation | ||
cVector3f |
GetTranslation | ||
cMatrixf |
GetTranspose | ||
cVector3f |
GetUp | ||
void |
SetForward | const cVector3f &in avVec |
|
void |
SetRight | const cVector3f &in avVec |
|
void |
SetRotation | float afXX ,float afXY ,float afXZ ,float afYX ,float afYY ,float afYZ ,float afZX ,float afZY ,float afZZ |
|
void |
SetRotation | const cMatrixf &in a_mtxRot |
|
void |
SetTranslation | const cVector3f &in avTrans |
|
void |
SetUp | const cVector3f &in avVec |