D3DXVEC2ADD function

xiaoxiao2021-03-06  88

D3DXVEC2ADD function

Two 2-D vector is added.

definition:

D3DXVECTOR2 * D3DXVEC2ADD (

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 result of the two vectors of the D3DXVector2 structure.

Description:

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

related functions:

D3DXVEC2SUBTRACT, D3DXVEC2SCALE

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

New Post(0)