Skip to content

raylib.rlScalef

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Multiply the current matrix by a scaling matrix

Parameters

Parameter Default Value Note
x 1
y 1
z 1

Return value

None.

Notes

Example

raylib.rlPushMatrix
raylib.rlScalef 2, 2, 1  // double size in X and Y
// draw scaled object
raylib.rlPopMatrix

Clone this wiki locally