Skip to content

raylib.MatrixMultiply

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get two matrix multiplication NOTE: When multiplying matrices... the order matters!

Parameters

Parameter Default Value Note
left MatrixIdentity
right MatrixIdentity

Return value

Condition Return Value
(always) map

Notes

Example

// Combine a translation and a rotation
t = raylib.MatrixTranslate(5, 0, 0)
r = raylib.MatrixRotateY(0.5)
combined = raylib.MatrixMultiply(t, r)

Clone this wiki locally