D3DXVEC2TRANSFORMCOORD function

xiaoxiao2021-03-06  111

D3DXVEC2TRANSFORMCOORD function

Transform a 2-D vector with a matrix, but the projecting item W = 1.

definition:

D3DXVECTOR2 * WINAPI D3DXVEC2TRANSFORMCOORD (

D3DXVECTOR2 * Pout,

Const d3dxvector2 * pv,

Const D3DXMatrix * PM

);

parameter:

pout

[IN, OUT] points to the operation result of the D3DXVECTOR2 structure.

PV

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

pm

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

return value:

Refers to the changed vector of the D3DXVector2 structure.

Description:

This function is converted with a matrix, then returns the result vector PV (x, y, 0, 1), the projection value W = 1.

The function return value is the same as the POUT parameter. This allows functions D3DXVEC2TRANSFORMCOORD as a parameter of other functions.

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

Function related:

D3DXVEC2TRANSFORM, D3DXVEC2TRANSFORMNORMAL

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

New Post(0)