near


Description:

[ Version ( since = "1.2" ) ]
public bool near (Vec2 v2, float epsilon)

Compares the two given Vec2 vectors and checks whether their values are within the given epsilon.

Parameters:

this

a Vec2

v2

a Vec2

epsilon

the threshold between the two vectors

Returns:

`true` if the two vectors are near each other