Matrix Operations


<Utility functions>

guAlign
guAlignF
... Calculates the vector alignment for a modeling matrix.
guLookAtStereo
guLookAtStereoF
... Calculates a "lookat" view matrix for stereographic display.
guMtxCatF ... Concatenates two 4x4 floating-point matrices (multiplication).
guMtxCatL ... Concatenates two 4x4 fixed-point matrices (multiplication).
guMtxF2L ... Converts a 4x4 floating-point matrix to a fixed-point matrix.
guMtxIdent ... Creates a 4x4 fixed-point unit matrix.
guMtxIdentF ... Creates a 4x4 floating-point unit matrix.
guMtxL2F ... Converts a 4x4 fixed-point matrix to a floating-point matrix.
guMtxXFMF ... Transforms the coordinates of a single point with a 4x4 floating-point matrix.
guMtxXFML ... Transforms the coordinates of a single point with a 4x4 fixed-point matrix./td>
guNormalize ... Normalizes a vector.
guPosition
guPositionF
... Calculates a modeling matrix.
guRotate
guRotateF
guRotateRPY
guRotateRPYF
... Calculates the modeling matrix rotation.
guScale
guScaleF
... Calculates a scaling modeling matrix.
guTranslate
guTranslateF
... Calculates a translation modeling matrix.

<GBI commands>

gSPMatrix ... Loads matrices, concatenates, and pushes the stack
gSPPopMatrix ... Matrix pop command.
gSPForceMatrix ... Loads a new MP matrix.
gSPInsertMatrix ... Updates matrix elements without multiplication.