d3d_transform_stack_pop()
Returns: Boolean
Pops the top transformation from the stack and makes it the
current one. Returns whether there was a transformation on the
stack.
d3d_transform_stack_pop();
d3d_transform_add_rotation_axis(1, 0, 0, 5);
d3d_transform_stack_push();
d3d_transform_set_identity();
The above code will pop the previous transformation from the stack, then add a rotation over the x axis, before finally pushing the final transform back onto the stack again.