VEC_Distance


C Specification

#include <nitro/fx/fx_vec.h>

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

Description

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

Arguments

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

Return Values

The distance between the two vectors.

See Also

VEC_Mag

Revision History

10/19/2004 Corrected a link.
02/16/2004 Initial version.