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... | |
Variables | |
const int | MAX_INTERPOL_SIZEX = 256 |
Maximum X-size of the interpolated array. More... | |
const int | MAX_INTERPOL_SIZEY = 512 |
Maximum Y-size of the interpolated array. More... | |
const int | MAX_INTERPOL_SIZEZ = 256 |
Maximum Z-size of the interpolated 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.
const int MAX_INTERPOL_SIZEX = 256 |
Maximum X-size of the interpolated array.
Definition at line 18 of file LinearInterpolation.h.
const int MAX_INTERPOL_SIZEY = 512 |
Maximum Y-size of the interpolated array.
Definition at line 19 of file LinearInterpolation.h.
const int MAX_INTERPOL_SIZEZ = 256 |
Maximum Z-size of the interpolated array.
Definition at line 20 of file LinearInterpolation.h.