MTX_LookAt


C Specification

#include <nitro/fx/fx_mtx43.h>

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

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.

Arguments

camPos Camera Position Vector Pointer
camUp Camera Up Vector Pointer
target Camera Focal Point Pointer
mtx 4 x 3 Matrix Pointer

Return Values

None.

See Also

G3_LookAt

Revision History

06/21/2001 First Edition