Microsoft DirectX 8.0 (C++) |
Performs a Catmull-Rom interpolation, using the specified 2-D vectors.
D3DXVECTOR2* D3DXVec2CatmullRom( D3DXVECTOR2* pOut, CONST D3DXVECTOR2* pV1, CONST D3DXVECTOR2* pV2, CONST D3DXVECTOR2* pV3, CONST D3DXVECTOR2* pV4, FLOAT s );
Pointer to a D3DXVECTOR2 structure that is the result of the Catmull-Rom interpolation.
The D3DXVec2CatmullRom function interpolates between the position V1 when s is equal to 0, and between the position V2 when s is equal to 1, using Catmull-Rom interpolation.
Header: Declared in D3dx8math.h.
Import Library: Use D3dx8.lib.