D3DXVEC2TRANSFORM function

xiaoxiao2021-03-06  111

D3DXVEC2TRANSFORM function

Use a matrix to transform 2-D vectors.

definition:

D3DXVECTOR4 * WINAPI D3DXVEC2TRANSFORM

D3DXVECTOR4 * POUT,

Const d3dxvector2 * pv,

Const D3DXMatrix * PM

);

parameter:

pout

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

PV

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

pm

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

return value:

A matrix transform that points to the D3DxVector4 structure.

Description:

This function returns the vector PV (X, Y, 0, 1) of the matrix PM transform.

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

Function related:

D3DXVEC2TRANSFORMCOORD, D3DXVEC2TRANSFORMNORMAL

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

New Post(0)