-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.MatrixRotateZYX
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get zyx-rotation matrix NOTE: Angle must be provided in radians
| Parameter | Default Value | Note |
|---|---|---|
| angle | [0, 0, 0] |
| Condition | Return Value |
|---|---|
| (always) | map |
// 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)