D3DXVEC2SUBTRACT functions

xiaoxiao2021-03-06  106

D3DXVEC2SUBTRACT functions

Two 2-D vector is subtracted.

function:

D3DXVECTOR2 * D3DXVEC2SUBTRACT

D3DXVECTOR2 * Pout,

Const d3dxvector2 * pv1,

Const d3dxvector2 * pv2

);

parameter:

pout

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

PV1

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

PV2

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

return value:

The difference between the two vectors of the D3DxVector2 structure.

Description:

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

Function related:

D3DXVEC2ADD, D3DXVEC2SCALE

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

New Post(0)