D3DXVEC3ADD function

xiaoxiao2021-03-06  112

D3DXVEC3ADD function

Two 3-D vector are added.

definition:

D3DXVECTOR3 * D3DXVEC3ADD (

D3DXVECTOR3 * Pout,

Const d3dxvector3 * pv1,

Const D3DXVector3 * PV2

);

parameter:

pout

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

PV1

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

PV2

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

return value:

Two 3d vectors pointing to the D3DxVector3 structure.

Description:

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

Function related:

D3DXVEC3SUBTRACT, D3DXVEC3SCALE

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

New Post(0)