Vec3.near

bool near(graphene.vec3.Vec3 v2, float epsilon)

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

Parameters

v2a #graphene_vec3_t
epsilonthe threshold between the two vectors

Returns

true if the two vectors are near each other