Skip to content

raylib.MatrixInvert

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Invert provided matrix

Parameters

Parameter Default Value Note
mat MatrixIdentity

Return value

Condition Return Value
(always) map

Notes

Example

mat = raylib.MatrixTranslate(3, 0, 0)
inv = raylib.MatrixInvert(mat)
// Multiplying mat by inv gives the identity matrix

Clone this wiki locally