# MTX_LookAt

## Syntax

      #include <nitro/fx/fx_mtx43.h>

      void MTX_LookAt(
          const VecFx32 * camPos,
          const VecFx32 * camUp,
          const VecFx32 * target,
          MtxFx43 * mtx
      );

## Arguments

camPos | Pointer to camera's position vector
camUp | Pointer to camera's upward vector
`target` | Pointer to camera's focal point
mtx | Pointer to a 4x3 matrix.

## Return Values

None.

## Description

Sets the camera matrix to matrix `*mtx`.*There is no need for `*camUp` to be normalized. The matrix that is set is as shown below.

## See Also

`G3_LookAt`

## Revision History

2004/06/21 Initial version.

CONFIDENTIAL