OrthoOffCenterRH, OrthoOffCenterLH

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

Syntax

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

IppStatus ippmOrthoOffCenterLH_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 orthographic projection matrix.

Description

The functions ippmOrthoOffCenterRH_m4_32f and ippmOrthoOffCenterLH_m4_32f are declared in the ippm.h file. The functions compute the 4x4 matrix of the orthographic projection defined by the parameters. The ippmOrthoOffCenterRH_m4_32f function computes the matrix of the right-handed projection, and ippmOrthoOffCenterLH_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.