OrthoRH, OrthoLH

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

Syntax

IppStatus ippmOrthoRH_m4_32f (Ipp32f w, Ipp32f h, Ipp32f zNear, Ipp32f zFar, Ipp32f* pDst);

IppStatus ippmOrthoLH_m4_32f (Ipp32f w, Ipp32f h, Ipp32f zNear, Ipp32f zFar, Ipp32f* pDst);

Parameters

w
Width of the view.
h
Height of the view.
zNear
z value of the near plane.
zFar
z value of the far plane.
pDst
Pointer to the orthographic projection matrix.

Description

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