Added fog
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user