VMatrix:IsRotationMatrix

From Garry's Mod
Jump to: navigation, search
 VMatrix:IsRotationMatrix( )

Description

Returns whether the matrix is a rotation matrix or not.

Technically it checks if the forward, right and up vectors are orthogonal and normalized.

Returns

boolean

Is the matrix a rotation matrix or not
Personal tools
Navigation