Vec3.near

Compares the two given #graphene_vec3_t vectors and checks whether their values are within the given @epsilon.

class Vec3
bool
near
(,
float epsilon
)

Parameters

v2 Vec3

a #graphene_vec3_t

epsilon float

the threshold between the two vectors

Return Value

Type: bool

true if the two vectors are near each other

Meta