Moved node buffer logic to Nodes struct

This commit is contained in:
Piotrek
2021-05-16 14:25:03 +02:00
parent 77c74be02f
commit 57e1a9134e
5 changed files with 93 additions and 59 deletions
-1
View File
@@ -104,7 +104,6 @@ impl Game {
}
// Send dirty chunks to renderer
// TODO: Only send chunks in rendering range
// TODO: Unload chunks above certain radius
self.world.update();
for (pos, chunk) in self.world.all_chunks() {