Package: graphene

Function graphene:vec2-near

Lambda List

graphene:vec2-near (v1 v2 epsilon)

Arguments

v1 -- a graphene:vec2-t instance
v2 -- a graphene:vec2-t instance
epsilon -- a number coerced to a float with the treshold between the two vectors

Return Value

True if the two vectors are near each other, and false otherwise.

Details

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

See also

2024-12-26