PerspectiveOffCenterRH, PerspectiveOffCenterLH

Computes the 4x4 matrix of right-handed or left-handed customized perspective projection.

Syntax

IppStatus ippmPerspectiveOffCenterRH_m4_32f (Ipp32f left, Ipp32f right, Ipp32f bottom, Ipp32f top, Ipp32f zNear, Ipp32f zFar, Ipp32f* pDst);

IppStatus ippmPerspectiveOffCenterLH_m4_32f (Ipp32f left, Ipp32f right, Ipp32f bottom, Ipp32f top, Ipp32f zNear, Ipp32f zFar, Ipp32f* pDst);

Parameters

left
The minimum x value of the view.
right
The maximum x value of the view.
bottom
The minimum y value of the view.
top
The maximum y value of the view.
zNear
The minimum z value of the view.
zFar
The maximum z value of the view.
pDst
Pointer to the perspective projection matrix.

Description

The functions ippmPerspectiveOffCenterRH_m4_32f and ippmPerspectiveOffCenterLH_m4_32f are declared in the ippm.h file. The functions compute the 4x4 matrix of the perspective projection defined by the parameters. The ippmPerspectiveOffCenterRH_m4_32f function computes the matrix of the right-handed projection, and ippmPerspectiveOffCenterLH_m4_32f computes the matrix of the left-handed projection.

Return Values

ippStsNoErr

Indicates no error.

See Also


Submit feedback on this help topic

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