Garry's Mod Wiki

VMatrix:Invert

boolean VMatrix:Invert()

Description

Inverts the matrix.

Inverting the matrix will fail if its determinant is 0 or close to 0. (ie. its "scale" in any direction is 0.)

If the matrix cannot be inverted, it does not get modified.

See also VMatrix:InvertTR.

Returns

1 boolean
Whether the matrix was inverted or not

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 4
Generate Html 4
SaveChanges 8
Render Body 0
Render Sidebar 12