S&box Wiki

Vector3.IsNearlyEqual

Syntax

bool IsNearlyEqual( Vector3 v, float delta = 0.0001 )

Description

Returns true if we're nearly equal to the passed vector.

Arguments

The value to compare with
float delta 0.0001
The max difference between component values

Returns

bool
True if nearly equal