Vec4.near

bool near(graphene.vec4.Vec4 v2, float epsilon)

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

Parameters

v2a #graphene_vec4_t
epsilonthe threshold between the two vectors

Returns

true if the two vectors are near each other