VEC_Distance

C Specification

#include <nitro/fx/fx_vec.h>

fx32 VEC_Distance(const VecFx32* v1, const VecFx32* v2);

Arguments

v1   Pointer to an VecFx32 type vector
v2   Pointer to an VecFx32 type vector

Return Values

Distance between two vectors.

Description

This function returns the distance between two VecFx32 type vectors as an fx32 type. It uses the Square Root Calculator.

See Also

VEC_Mag

Revision History

02/16/2004 Initial version