Macaw OS C reference

Function gpu_popmatrix

#include <macawgpu.h>
void gpu_popmatrix(void);

Gets back the matrix you last saved with gpu_pushmatrix. It's an error if nothing was saved.

Parameters

It takes nothing.

In Matrices, with gpu_matrixmode, gpu_loadidentity, gpu_pushmatrix, gpu_translate, gpu_rotate, gpu_scale, gpu_perspective, gpu_ortho, gpu_frustum, gpu_lookat, gpu_loadmatrix, gpu_multmatrix, gpu_getmatrix, gpu_project.