#include <nitro/fx/fx_vec.h>
void VEC_MultAdd(
fx32 a,
const VecFx32* v1,
const VecFx32* v2,
VecFx32* pDest
);
a | An fx32 type scalar value. |
v1 |
The pointer to a vector. |
v2 |
The pointer to a vector. |
pDest |
The pointer to the vector where the result is stored. |
None.
This function multiplies a VecFx32
type vector by a scalar value and then adds another vector to the product. The result is shown by *pDest
=
a
x
*v1
+
*v2
. v1
, v2
, and pDst
can be pointers to the same vector.
02/16/2004 Initial version