VEC_Fx16Normalize

C Specification

#include <nitro/fx/fx_vec.h>

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

Arguments

pSrc The pointer to a vector.
pDst   The pointer to the normalized vector.

Return Values

None.

Description

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

See Also

Revision History

02/16/2004 Initial version


CONFIDENTIAL