D3DXVEC3TRANSFORMARRAY function

xiaoxiao2021-03-06  107

D3DXVEC3TRANSFORMARRAY function

Use matrix transform vector (x, y, z, 1) array.

definition:

D3DXVECTOR4 * WINAPI D3DXVEC3TRANSFORMARRAY (D3DXVector4 * Pout,

Uint Outstride,

Const D3DxVector3 * PV,

Uint vstride,

Const d3dxmatrix * pm,

Uint N

);

parameter:

pout

[in, out] points to the operation result of the D3DXVECTOR4 structure.

Outstride

[in] Outputs the size of each element in an array.

PV

[in] Point to the source vector array of D3DXVECTOR3 structures.

Vstride

[in] Enter the size of each element in the array.

pm

[in] points to the transformation matrix of the D3DXMatrix structure.

n

[in] How many elements are there in the vector array.

return value:

Refers to the rearward vector of the D3DXVector4 structure.

Description:

This function transforms vector PV (X, Y, Z, 1) array with matrix PM.

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

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

New Post(0)