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: 82ms

DB GetPage 57
Generate Html 1
SaveChanges (1) 8
Render Body 0
Render Sidebar 13