Skip to content

raylib.MatrixRotateXYZ

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get xyz-rotation matrix NOTE: Angle must be provided in radians

Parameters

Parameter Default Value Note
angle [0, 0, 0]

Return value

Condition Return Value
(always) map

Notes

Example

// Rotate 10° around X, 45° around Y, 30° around Z (in radians)
angles = [10*(pi/180), 45*(pi/180), 30*(pi/180)]
r = raylib.MatrixRotateXYZ(angles)

Clone this wiki locally