Garry's Mod Wiki

VMatrix:GetInverseTR

VMatrix VMatrix:GetInverseTR()

Description

Returns an inverted matrix without modifying the original matrix. This function will not fail, but only works correctly on matrices that contain only translation and/or rotation.

Using this function on a matrix with modified scale may return an incorrect inverted matrix.

To get the inverse of a matrix that contains other modifications, see VMatrix:GetInverse.

Returns

1 VMatrix
The inverted matrix.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 5
Generate Html 2
SaveChanges (1) 11
Render Body 0
Render Sidebar 12