-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.rlRotatef
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Multiply the current matrix by a rotation matrix NOTE: The provided angle must be in degrees
| Parameter | Default Value | Note |
|---|---|---|
| angle | 0 | |
| x | 0 | |
| y | 0 | |
| z | 0 |
None.
raylib.rlPushMatrix
raylib.rlRotatef 45, 0, 0, 1 // rotate 45 degrees around Z axis
// draw rotated object
raylib.rlPopMatrix