#include <nitro/fx/fx_vec.h>
fx32 VEC_Distance(const VecFx32* v1, const VecFx32* v2);
v1 |
Pointer to an VecFx32 type vector |
v2 |
Pointer to an VecFx32 type vector |
Distance between two vectors.
This function returns the distance between two VecFx32 type vectors as an fx32 type.
It uses the Square Root Calculator. Refer to Square Root Calculator Usage Notes when using this function inside an interrupt.
02/16/2004 Initial version
CONFIDENTIAL