Garry's Mod Wiki

VMatrix:IsZero

  boolean VMatrix:IsZero()

Description

Checks whenever all fields of the matrix are 0, aka if this is a null matrix.

Returns

1 boolean
If the matrix is a null matrix.