Vec3.near

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

class Vec3
bool
near

Parameters

v2 graphene.vec3.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