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 0x1701  // RL_PROJECTION
raylib.rlLoadIdentity
raylib.rlOrtho 0, 800, 600, 0, -1, 1
raylib.rlMatrixMode 0x1700  // RL_MODELVIEW

Clone this wiki locally