aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/FastNoise.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/FastNoise.h')
-rw-r--r--Minecraft.World/FastNoise.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Minecraft.World/FastNoise.h b/Minecraft.World/FastNoise.h
new file mode 100644
index 00000000..f41c32e8
--- /dev/null
+++ b/Minecraft.World/FastNoise.h
@@ -0,0 +1,17 @@
+#pragma once
+
+class FastNoise
+{
+private:
+ byte **noiseMaps;
+ int levels;
+
+public:
+ FastNoise(int levels);
+ FastNoise(Random *random, int levels);
+
+ void init(Random *random, int levels);
+ ~FastNoise();
+
+ doubleArray getRegion(doubleArray buffer, double x, double y, double z, int xSize, int ySize, int zSize, double xScale, double yScale, double zScale);
+}; \ No newline at end of file