summaryrefslogtreecommitdiffstats
path: root/source/cNoise.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-29 22:15:03 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-29 22:15:03 +0200
commite49313202c759f70f6cf1113c8b53471122eb7da (patch)
treebf2016820ab3715c7a7dfcf06f1e99bc93c48cac /source/cNoise.h
parentChunk generator outputs its performance in chunks per second (diff)
downloadcuberite-e49313202c759f70f6cf1113c8b53471122eb7da.tar
cuberite-e49313202c759f70f6cf1113c8b53471122eb7da.tar.gz
cuberite-e49313202c759f70f6cf1113c8b53471122eb7da.tar.bz2
cuberite-e49313202c759f70f6cf1113c8b53471122eb7da.tar.lz
cuberite-e49313202c759f70f6cf1113c8b53471122eb7da.tar.xz
cuberite-e49313202c759f70f6cf1113c8b53471122eb7da.tar.zst
cuberite-e49313202c759f70f6cf1113c8b53471122eb7da.zip
Diffstat (limited to '')
-rw-r--r--source/cNoise.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/cNoise.h b/source/cNoise.h
index 74c2cdd02..6d0a69483 100644
--- a/source/cNoise.h
+++ b/source/cNoise.h
@@ -74,6 +74,17 @@ private:
+/// Linearly interpolates values in the array between the anchor points
+extern void IntArrayLinearInterpolate2D(
+ int * a_Array,
+ int a_SizeX, int a_SizeY, // Dimensions of the array
+ int a_AnchorStepX, int a_AnchorStepY // Distances between the anchor points in each direction
+);
+
+
+
+
+
#if NOISE_USE_INLINE
# include "cNoise.inc"
#endif