D3DXVEC2LERP function
Linear interpolation between two 2-D vectors.
definition:
D3DXVECTOR2 * D3DXVEC2LERP
D3DXVECTOR2 * Pout,
Const d3dxvector2 * pv1,
Const d3dxvector2 * pv2,
Float S
);
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.
s
Two vector linear interpolation coefficients.
return value:
Point linear interpolation of the D3DXVector2 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 D3DXVec2lerp as a parameter of other functions.
Function information:
HEADER
D3DX9Math.h
Import Library
D3DX9.LIB
Minimum operation systems
WINDOWS 98