D3DXVEC3TRANSFORM function

xiaoxiao2021-03-06  115

D3DXVEC3TRANSFORM function

Transform the vectors (X, Y, Z, 1) with a matrix.

definition:

D3DXVECTOR4 * WINAPI D3DXVEC3TRANSFORM

D3DXVECTOR4 * POUT,

Const D3DxVector3 * PV,

Const D3DXMatrix * PM

);

Parameters

pout

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

PV

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

pm

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

return value:

Refers to the changed vector of the D3DXVector4 structure.

Description:

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

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

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

New Post(0)