Macaw OS C reference

Function gpu_multmatrix

#include <macawgpu.h>
void gpu_multmatrix(const float *m);

Multiplies the current matrix by 16 numbers of your own, as gpu_translate and the others do with theirs.

Parameters

mconst float *
An array of 16 floats, column by column, so m[12], m[13] and m[14] are the move.

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