Skip to content

raylib.rlMatrixMode

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Choose the current matrix to be transformed

Parameters

Parameter Default Value Note
mode

Return value

None.

Notes

Example

raylib.rlMatrixMode 5889  // RL_PROJECTION (0x1701)
raylib.rlLoadIdentity
raylib.rlOrtho 0, 800, 600, 0, -1, 1
raylib.rlMatrixMode 5888  // RL_MODELVIEW (0x1700)

Clone this wiki locally