# VEC_MultAdd

## Syntax

      #include <nitro/fx/fx_vec.h>

      void VEC_MultAdd(
          fx32 a,
          const VecFx32* v1,
          const VecFx32* v2,
          VecFx32* pDest
      );

## Arguments

a | An `fx32`-type scalar value.
v1 | Pointer to a vector.
v2 | Pointer to a vector.
pDest | Pointer to the vector where the result is stored.

## Return Values

None.

## Description

Multiplies a `VecFx32`-type vector by a scalar value and then adds another vector to the product. The result is *pDest `=` a `x` v1 `+` v2.
The pointers *v1, *v2, and *pDest can be pointers to the same vector.

## See Also

`VecFx32`
`VEC_MultSubtract`

## Revision History

2004/02/16 Initial version.

CONFIDENTIAL