D3DXVEC3PROJECT function

xiaoxiao2021-03-06  115

D3DXVEC3PROJECT function

Vector of the object from the object space to the screen space.

definition:

D3DXVECTOR3 * WINAPI D3DXVEC3PROJECT

D3DXVECTOR3 * Pout,

Const D3DxVector3 * PV,

Const d3dviewport9 * PViewPort,

Const D3DXMAMATRIX * PPROJECTION,

Const d3dxmatrix * pVIEW,

Const d3dxmatrix * PWORLD

);

parameter:

pout

[IN, OUT] points to the operation result of the D3DXVECTOR3 structure.

PV

[in] Point the source vector of the D3DXVECTOR3 structure.

PViewPort

[in] Points to the D3DViewPort9 structure, which is a viewport.

PPROJECTION

[in] points to the D3DXMAMATRIX structure, which is a projection matrix.

PVIEW

[in] Points to the D3DXMatrix structure, which is the transformation matrix.

PWORLD

[in] Points to the D3DXMatrix structure, which is a world transformation matrix.

return value:

Pointing the vector of the D3DXVector3 structure, which is the result of the object of the object from the object space to the screen space.

Description:

The function return value is the same as the POUT parameter. This allows function D3DXVEC3Project to use parameters of other functions.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

Function related:

D3DXVEC3UNPROJECT

转载请注明原文地址:https://www.9cbs.com/read-101754.html

New Post(0)