D3DXVEC3TRANSFORMCOORD function
Transform 3-D vector with matrix and use W = 1 projection.
definition:
D3DXVECTOR3 * WINAPI D3DXVEC3TRANSFORMCOORD (D3DXVector3 * Pout,
Const D3DxVector3 * PV,
Const D3DXMatrix * PM
);
Parameters
pout
[IN, OUT] points to the operation result of the D3DXVECTOR3 structure.
PV
[in] Pointing vector of D3DXVector3 structure.
pm
[in] points to the transformation matrix of the D3DXMatrix structure.
Return Value
Refers to the conversion of the D3DXVector3 structure.
Description:
This function transforms 3-D vector PV (X, Y, Z, 1) with matrix PM, and projected with W = 1.
The function return value is the same as the POUT parameter. This allows the function D3DXVEC3TRANSFORMCOORD to use parameters of other functions.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98
Function related:
D3DXVEC3TRANSFORM, D3DXVEC3TRANSFORMNORMAL