Skip to content

raylib.MatrixRotateZYX

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get zyx-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 30° Z, then 45° Y, then 10° X (in radians)
angles = [10*(pi/180), 45*(pi/180), 30*(pi/180)]
r = raylib.MatrixRotateZYX(angles)

Clone this wiki locally