d3d_transform_stack_empty

Returns whether the transformation stack is empty.

Syntax:

d3d_transform_stack_empty()


Returns: Boolean


Description

You can use this function to check and see if the transformation stack is empty of transforms or not.


Example:

if !d3d_transform_stack_empty() d3d_transform_stack_clear();

The above code will check the transformation stack and if it is not empty it clears it.


Back: 3D Drawing
Next: d3d_transform_stack_push
© Copyright YoYo Games Ltd. 2018 All Rights Reserved