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