Skip to content

raylib.MatrixAdd

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Add two matrices

Parameters

Parameter Default Value Note
left MatrixIdentity
right MatrixIdentity

Return value

Condition Return Value
(always) map

Notes

Example

a = raylib.MatrixIdentity
b = raylib.MatrixIdentity
result = raylib.MatrixAdd(a, b)
// Each diagonal element is now 2 (identity + identity)

Clone this wiki locally