Return to previous page | Return to menu | Go to next page


Bool
Matrix function

slPushUnitMatrix

Advance the pointer and copy the unit matrix to the current matrix

Format

Bool slPushUnitMatrix()

Parameter

None

Function

Set the unit matrix to the current matrix with the matrix buffer pointer advanced.

Return value

If the pointer allocation fails, the function returns FALSE.

Remarks

You can nest up to 20 matrix buffers.
If 20 is exceeded and an attempt is made to allocate a matrix buffer, the function returns FALSE.

Reference: Chapter 5 Matrix

slPushUnitMatrix


Return to previous page | Return to menu | Go to next page