Vec4.near

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

class Vec4
bool
near
(,
float epsilon
)

Parameters

v2 Vec4

a #graphene_vec4_t

epsilon float

the threshold between the two vectors

Return Value

Type: bool

true if the two vectors are near each other

Meta