larger block buffer

This commit is contained in:
Piotrek committed 2021-05-10 22:07:07 +02:00
1 parent a09f446ecd
commit e110e99053
5 files changed
+39 -8

No files matched your search

+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);