matrix_stack_is_empty


Description

This function can be used to check whether the matrix stack is empty (returns true) or not (returns false).


Syntax:

matrix_stack_is_empty();


Returns:

Boolean


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.


Back: Matrix Functions
Next: matrix_stack_clear
© Copyright YoYo Games Ltd. 2018 All Rights Reserved