Compares the components of two vectors using the given epsilon and returns TRUE if they are the same, using an internal epsilon for comparing the floats.
Each component is compared against the epsilon value in this way:
if (fabsf (vector0->x - vector1->x) < epsilon)
vector0 |
The first 3 component vector you want to compare |
vector1 |
The second 3 component vector you want to compare |
epsilon |
The allowable difference between components to still be considered equal |
TRUE if the vectors are equal else FALSE. |