larger block buffer

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