VEC_Fx16Normalize

Syntax

#include <nitro/fx/fx_vec.h>

void VEC_Fx16Normalize(const VecFx16 * pSrc, VecFx16 * pDst);

Arguments

pSrc Pointer to a vector.
pDst Pointer to the normalized vector.

Return Values

None.

Description

Normalizes a VecFx16 type vector. The result is stored in *pDst.
*pSrc and *pDst can be pointers to the same vector.
The function uses the divider and square root calculator. See Divider Usage Notes when using this function inside an interrupt.

See Also

Revision History

2004/02/16 Initial version.


CONFIDENTIAL