diff options
author | Mattes D <github@xoft.cz> | 2014-08-28 15:58:48 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-28 15:58:48 +0200 |
commit | 271c8c0d3246749087f9772df31896d93f2cb9f3 (patch) | |
tree | 996deeecb3fbf49f78ada88cea090ca2586fcbee /src/LinearUpscale.h | |
parent | Merge remote-tracking branch 'origin/master' into CraftingFixes (diff) | |
download | cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.gz cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.bz2 cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.lz cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.xz cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.tar.zst cuberite-271c8c0d3246749087f9772df31896d93f2cb9f3.zip |
Diffstat (limited to 'src/LinearUpscale.h')
-rw-r--r-- | src/LinearUpscale.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LinearUpscale.h b/src/LinearUpscale.h index 0b04408cf..a49f4bdf9 100644 --- a/src/LinearUpscale.h +++ b/src/LinearUpscale.h @@ -31,7 +31,7 @@ Linearly interpolates values in the array between the equidistant anchor points Works in-place (input is already present at the correct output coords) Uses templates to make it possible for the compiler to further optimizer the loops */ -template< +template < int SizeX, int SizeY, // Dimensions of the array int AnchorStepX, int AnchorStepY, typename TYPE @@ -83,7 +83,7 @@ void LinearUpscale2DArrayInPlace(TYPE * a_Array) Linearly interpolates values in the array between the equidistant anchor points (upscales). Works on two arrays, input is packed and output is to be completely constructed. */ -template<typename TYPE> void LinearUpscale2DArray( +template <typename TYPE> void LinearUpscale2DArray( TYPE * a_Src, ///< Source array of size a_SrcSizeX x a_SrcSizeY int a_SrcSizeX, int a_SrcSizeY, ///< Dimensions of the src array TYPE * a_Dst, ///< Dest array, of size (a_SrcSizeX * a_UpscaleX + 1) x (a_SrcSizeY * a_UpscaleY + 1) @@ -153,7 +153,7 @@ template<typename TYPE> void LinearUpscale2DArray( Linearly interpolates values in the array between the equidistant anchor points (upscales). Works on two arrays, input is packed and output is to be completely constructed. */ -template<typename TYPE> void LinearUpscale3DArray( +template <typename TYPE> void LinearUpscale3DArray( TYPE * a_Src, ///< Source array of size a_SrcSizeX x a_SrcSizeY x a_SrcSizeZ int a_SrcSizeX, int a_SrcSizeY, int a_SrcSizeZ, ///< Dimensions of the src array TYPE * a_Dst, ///< Dest array, of size (a_SrcSizeX * a_UpscaleX + 1) x (a_SrcSizeY * a_UpscaleY + 1) x (a_SrcSizeZ * a_UpscaleZ + 1) |