mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +00:00
initial mapgen indev version with farscale feature and huge caves
This commit is contained in:
parent
e3badd7062
commit
165498cecf
12 changed files with 456 additions and 41 deletions
|
@ -524,6 +524,7 @@ float *Noise::perlinMap2D(float x, float y) {
|
|||
for (j = 0; j != sy; j++) {
|
||||
for (i = 0; i != sx; i++) {
|
||||
result[index] += g * buf[index];
|
||||
//dstream << "pm2d i="<<index<<" r="<< result[index]<<std::endl;
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue