Skip to content

raylib.MatrixScale

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get scaling matrix

Parameters

Parameter Default Value Note
x 1
y 1
z 1

Return value

Condition Return Value
(always) map

Notes

Example

// Double the size on X, halve on Y, unchanged on Z
s = raylib.MatrixScale(2, 0.5, 1)

Clone this wiki locally