Added fog

This commit is contained in:
Piotrek
2021-05-11 10:57:54 +02:00
parent e110e99053
commit 71e30abb62
4 changed files with 8 additions and 63 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ impl Game {
// Generate new world
else {
let timer = Instant::now();
for x in 0..128 {
for z in 0..128 {
for x in 0..32 {
for z in 0..32 {
let pos = &Point3{x,y:0,z};
let block = app.world.gen_block(pos);
content.write(pos, block);