Macaw OS C reference

Function gpu_matrixmode

#include <macawgpu.h>
void gpu_matrixmode(const char *m);

Picks which matrix the matrix calls after it change.

Parameters

mconst char *
"modelview" (how it starts) or "projection".

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