Project

Projects a 3D vector or array of vectors to the screen.

Syntax

IppStatus ippmProject_m4v3_32f (const Ipp32f* pWorld, const Ipp32f* pView, const Ipp32f* pProj, const Ipp32f* pSrc, Ipp32f vpWidth, Ipp32f vpHeight, Ipp32f vpZnear, Ipp32f vpZfar, Ipp32f* pDst);

IppStatus ippmProject_m4v3a_32f (const Ipp32f* pWorld, const Ipp32f* pView, const Ipp32f* pProj, const Ipp32f* pSrc, int srcStride0, Ipp32f vpWidth, Ipp32f vpHeight, Ipp32f vpZnear, Ipp32f vpZfar, Ipp32f* pDst, int dstStride0, int count);

Parameters

pWorld
Pointer to the world matrix.
pView
Pointer to the viewport matrix.
pProj
Pointer to the projection matrix.
pSrc
Pointer to the source vector or array of vectors.
srcStride0
Stride between the vectors in the source array.
vpWidth
Width of the viewport.
vpHeight
Height of the viewport.
vpZnear
Minimum depth of the viewport.
vpZfar
Maximum depth of the viewport.
pDst
Pointer to the destination vector or array of vectors.
dstStride0
Stride between the vectors in the destination array.
count
The number of vectors in the arrays.

Description

The functions ippmProject_m4v3_32f and ippmProject_m4v3a_32f are declared in the ippm.h file. The ippmProject_m4v3_32f function projects a 3D vector to the screen. The ippmProject_m4v3a_32f function projects an array of 3D vectors to the screen.

Return Values

ippStsNoErr

Indicates no parameter checking.

See Also


Submit feedback on this help topic

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