1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Cleaned & enhanced noise object management

This commit is contained in:
kwolekr 2012-12-18 16:45:50 -05:00 committed by Perttu Ahola
parent 96898c1794
commit bddd5f2b98
2 changed files with 75 additions and 37 deletions

View file

@ -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,