Garry's Mod Wiki

Angle:IsEqualTol

  boolean Angle:IsEqualTol( Angle compare, number tolerance )

Description

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

Arguments

1 Angle compare
The angle to compare to.
2 number tolerance
The tolerance range for each component.

Returns

1 boolean eq
Are each of the the angle components equal or not within given tolerance.