LookAtLH, LookAtRH

Computes the 4x4 right-handed or left-handed look-at matrix.

Syntax

IppStatus ippmLookAtRH_m4_32f (const Ipp32f* pSrcEye, const Ipp32f* pSrcAt, const Ipp32f* pSrcUp, Ipp32f* pDst);

IppStatus ippmLookAtLH_m4_32f (const Ipp32f* pSrcEye, const Ipp32f* pSrcAt, const Ipp32f* pSrcUp, Ipp32f* pDst);

Parameters

pSrcEye
Pointer to the eye.
pSrcAt
Pointer to the camera.
pSrcUp
Pointer to the current world's up.
pDst
Pointer to the look-at matrix.

Description

The functions ippmLookAtRH_m4_32f and ippmLookAtLH_m4_32f are declared in the ippm.h file. The functions compute the 4x4 look-at matrix defined by the parameters. The ippmLookAtRH_m4_32f function computes the right-handed look-at matrix, and ippmLookAtLH_m4_32f computes the left-handed look-at matrix.

Return Values

ippStsNoErr

Indicates no error.

See Also


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.