# VEC_MultSubtract

## C Specification

      #include <nitro/fx/fx_vec.h>

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

## Arguments

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.

## Return Values

None.

## Description

This function multiplies a `VecFx32` type vector by a scalar value and then subtracts another vector from the product. The result is shown by *`pDest``=` `a` `x` `*v1``-` `*v2`. `v1`, `v2`, and `pDst` can be pointers to the same vector.

## See Also

`VecFx32`, `VEC_MultAdd`

## Revision History

02/16/2004 Initial version

CONFIDENTIAL