Skip to content

raylib.rlTranslatef

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Multiply the current matrix by a translation matrix

Parameters

Parameter Default Value Note
x 0
y 0
z 0

Return value

None.

Notes

Example

raylib.rlPushMatrix
raylib.rlTranslatef 100, 50, 0
// draw object offset by (100, 50)
raylib.rlPopMatrix

Clone this wiki locally