summaryrefslogtreecommitdiffstats
path: root/src/LinearUpscale.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-28 16:35:56 +0200
committerMattes D <github@xoft.cz>2014-08-28 16:35:56 +0200
commite931b649ac7915de1326d1dc124503383d82d3cf (patch)
tree3065edcd8277ee6f375ee433498fd6f6a67fe620 /src/LinearUpscale.h
parentFixed a typo. (diff)
parentFinal template keyword style fix. (diff)
downloadcuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.gz
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.bz2
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.lz
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.xz
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.tar.zst
cuberite-e931b649ac7915de1326d1dc124503383d82d3cf.zip
Diffstat (limited to 'src/LinearUpscale.h')
-rw-r--r--src/LinearUpscale.h6
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)