Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Go to the source code of this file.
Functions | |
void | LinearInterpolate1DArray (float *a_Src, int a_SrcSizeX, float *a_Dst, int a_DstSizeX) |
Puts linearly interpolated values from one array into another array. More... | |
void | LinearInterpolate2DArray (float *a_Src, int a_SrcSizeX, int a_SrcSizeY, float *a_Dst, int a_DstSizeX, int a_DstSizeY) |
Puts linearly interpolated values from one array into another array. More... | |
void | LinearInterpolate3DArray (float *a_Src, int a_SrcSizeX, int a_SrcSizeY, int a_SrcSizeZ, float *a_Dst, int a_DstSizeX, int a_DstSizeY, int a_DstSizeZ) |
Puts linearly interpolated values from one array into another array. More... | |
void LinearInterpolate1DArray | ( | float * | a_Src, |
int | a_SrcSizeX, | ||
float * | a_Dst, | ||
int | a_DstSizeX | ||
) |
Puts linearly interpolated values from one array into another array.
1D version
a_Src | Src array |
a_SrcSizeX | Count of the src array |
a_Dst | Src array |
a_DstSizeX | Count of the dst array |
Definition at line 58 of file LinearInterpolation.cpp.
void LinearInterpolate2DArray | ( | float * | a_Src, |
int | a_SrcSizeX, | ||
int | a_SrcSizeY, | ||
float * | a_Dst, | ||
int | a_DstSizeX, | ||
int | a_DstSizeY | ||
) |
Puts linearly interpolated values from one array into another array.
2D version
a_Src | Src array, [x + a_SrcSizeX * y] |
a_SrcSizeY | Count of the src array, in each direction |
a_Dst | Dst array, [x + a_DstSizeX * y] |
a_DstSizeY | Count of the dst array, in each direction |
Definition at line 86 of file LinearInterpolation.cpp.
void LinearInterpolate3DArray | ( | float * | a_Src, |
int | a_SrcSizeX, | ||
int | a_SrcSizeY, | ||
int | a_SrcSizeZ, | ||
float * | a_Dst, | ||
int | a_DstSizeX, | ||
int | a_DstSizeY, | ||
int | a_DstSizeZ | ||
) |
Puts linearly interpolated values from one array into another array.
3D version
a_Src | Src array, [x + a_SrcSizeX * y + a_SrcSizeX * a_SrcSizeY * z] |
a_SrcSizeZ | Count of the src array, in each direction |
a_Dst | Dst array, [x + a_DstSizeX * y + a_DstSizeX * a_DstSizeY * z] |
a_DstSizeZ | Count of the dst array, in each direction |
Definition at line 154 of file LinearInterpolation.cpp.