vector3_equal


Description:

public Bool vector3_equal (void* v1, void* v2)

Compares the components of two vectors and returns TRUE if they are the same.

The comparison of the components is done with the '==' operator such that -0 is considered equal to 0, but otherwise there is no fuzziness such as an epsilon to consider vectors that are essentially identical except for some minor precision error differences due to the way they have been manipulated.

Parameters:

v1

The first 3 component vector you want to compare

v2

The second 3 component vector you want to compare

Returns:

TRUE if the vectors are equal else FALSE.


Namespace: Cogl
Package: doc