matrix_stack_clear


Description

This function clears the matrix stack.


Syntax:

matrix_stack_clear();


Returns:

N/A


Example:

if !matrix_stack_is_empty()
    {
    matrix_stack_clear();
    }

The above code checks the matrix stack to see if it is empty and if it is not it clears it.