# VEC_Fx16Distance

## Syntax

      #include <nitro/fx/fx_vec.h>

      fx32 VEC_Fx16Distance(const VecFx16* v1, const VecFx16* v2);

## Arguments

v1 | Pointer to an `VecFx16`-type vector.
`v2` | Pointer to an `VecFx16`-type vector.

## Return Values

Distance between two vectors.

## Description

This function returns the distance between two `VecFx16`-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.

## See Also

`VEC_Fx16Mag`

## Revision History

2004/02/16 Initial version.

CONFIDENTIAL