Skip to content

raylib.rlFrustum

JoeStrout edited this page Apr 29, 2026 · 3 revisions

Multiply the current matrix by a perspective matrix generated by parameters

Parameters

Parameter Default Value Note
left
right
bottom
top
znear
zfar

Return value

None.

Notes

Example

raylib.rlMatrixMode 5889  // RL_PROJECTION (0x1701)
raylib.rlLoadIdentity
raylib.rlFrustum -1, 1, -1, 1, 0.1, 100
raylib.rlMatrixMode 5888  // RL_MODELVIEW (0x1700)

Clone this wiki locally