-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.MatrixMultiply
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get two matrix multiplication NOTE: When multiplying matrices... the order matters!
| Parameter | Default Value | Note |
|---|---|---|
| left | MatrixIdentity | |
| right | MatrixIdentity |
| Condition | Return Value |
|---|---|
| (always) | map |
// Combine a translation and a rotation
t = raylib.MatrixTranslate(5, 0, 0)
r = raylib.MatrixRotateY(0.5)
combined = raylib.MatrixMultiply(t, r)