VMatrix:Invert

From Garry's Mod
Jump to: navigation, search
 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

boolean

Whether the matrix was inverted or not
Personal tools
Navigation