Microsoft DirectX 8.1 (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 outputs the value V2 when s (the weight) is equal to 0, and outputs the value V3 when s (the weight) is equal to 1.
Header: Declared in D3dx8math.h.
Import Library: Use D3dx8.lib.