Garry's Mod Wiki

Revision Difference

VMatrix:InvertTR#565018

<function name="InvertTR" parent="VMatrix" type="classfunc"> <description> Inverts the matrix. This function will not fail, but only works correctly on matrices that contain only translation and/or rotation. Quickly inverts the 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 invert a matrix that contains other modifications, see <page>VMatrix:Invert</page>. To invert a matrix that contains other modifications, see <page>VMatrix:Invert</page>. This function is faster. </description> <realm>Shared</realm> </function>