1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Mgfractal: Independant offset and slice params for mandelbrot and julia

Player now spawns on julia set due to julia offset
Add commented-out '#include profiler.h' for timetaker use
Use v3fs to reduce number of parameters
Tune tunnel width to match mgv7
This commit is contained in:
paramat 2015-10-11 18:11:09 +01:00
parent 3a4bcf35a1
commit bda2f56503
2 changed files with 53 additions and 51 deletions

View file

@ -37,13 +37,13 @@ struct MapgenFractalParams : public MapgenSpecificParams {
u32 spflags;
u16 iterations;
float scale_x;
float scale_y;
float scale_z;
float offset_x;
float offset_y;
float offset_z;
float slice_w;
v3f scale;
v3f moffset;
float mslice_w;
v3f joffset;
float jslice_w;
float julia_x;
float julia_y;
float julia_z;
@ -75,13 +75,13 @@ public:
v3s16 full_node_max;
u16 iterations;
float scale_x;
float scale_y;
float scale_z;
float offset_x;
float offset_y;
float offset_z;
float slice_w;
v3f scale;
v3f moffset;
float mslice_w;
v3f joffset;
float jslice_w;
float julia_x;
float julia_y;
float julia_z;