Skip to content

raylib.MatrixRotateY

JoeStrout edited this page Apr 29, 2026 · 2 revisions

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

Parameters

Parameter Default Value Note
angle 0

Return value

Condition Return Value
(always) map

Notes

Example

// Rotate 90 degrees around the Y axis
angle = 90 * (pi / 180)
r = raylib.MatrixRotateY(angle)

Clone this wiki locally