D3DXVEC3TRANSFORMCOORDARRAY function
Transform 3-D vector array with matrix and use W = 1 projection.
definition:
D3DXVECTOR3 * WINAPI D3DXVEC3TRANSFORMCOORDARRAY (D3DXVector3 * Pout,
Uint Outstride,
Const D3DxVector3 * PV,
Uint vstride,
Const d3dxmatrix * pm,
Uint N
);
parameter:
pout
[IN, OUT] points to the operation result of the D3DXVECTOR3 structure.
Outstride
[in] Output vector array size of each element.
PV
[in] The vector array of D3DXVector3 structure.
Vstride
[IN] Enter the size of each element of the vector array.
pm
[in] points to the transformation matrix of the D3DXMatrix structure.
n
[IN] Number of elements in the number of quantities.
return value:
Point the transformation vector array of D3DXVector3 structures.
Remarks
Transform 3-D vector PV (X, Y, Z, 1) array with matrix PM, and projected with W = 1.
The function return value is the same as the POUT parameter. This allows functions D3DXVEC3TRANSFORMCOORDARRAY to use parameters of other functions.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98