D3DXVEC3lerp function

xiaoxiao2021-03-06  125

D3DXVEC3lerp function

Operate the linear interpolation of two 3-D vector.

definition:

D3DXVECTOR3 * D3DXVEC3LERP

D3DXVECTOR3 * Pout,

Const d3dxvector3 * pv1,

Const d3dxvector3 * pv2,

Float S

);

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.

s

[in] Two vector interpolation parameters.

return value:

Point linear interpolation results of the D3DxVector3 structure.

Description:

This function is linearly interpolated with the following formula: V1 S (V2-V1).

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

Function information:

HEADER

D3DX9Math.h

Import Library

D3DX9.LIB

Minimum operation systems

WINDOWS 98

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

New Post(0)