Skip to content

raylib.MatrixScale

JoeStrout edited this page Nov 16, 2026 · 3 revisions

Get scaling matrix for scale factors (x, y, z)

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