summaryrefslogtreecommitdiff
path: root/src/noise.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/noise.h')
-rw-r--r--src/noise.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/noise.h b/src/noise.h
index 0ab162b73..15df5c25b 100644
--- a/src/noise.h
+++ b/src/noise.h
@@ -85,6 +85,13 @@ public:
Noise(NoiseParams *np, int seed, int sx, int sy, int sz);
~Noise();
+ void init(NoiseParams *np, int seed, int sx, int sy, int sz);
+ void setSize(int sx, int sy);
+ void setSize(int sx, int sy, int sz);
+ void setSpreadFactor(v3f spread);
+ void setOctaves(int octaves);
+ void resizeNoiseBuf(bool is3d);
+
void gradientMap2D(
float x, float y,
float step_x, float step_y,