Garry's Mod Wiki

Vector:IsEqualTol

  boolean Vector:IsEqualTol( Vector compare, number tolerance )

Description

Returns if the vector is equal to another vector with the given tolerance.

Arguments

1 Vector compare
The vector to compare to.
2 number tolerance
The tolerance range.

Returns

1 boolean
Are the vectors equal or not.