Spatial Chunk Generation

This commit is contained in:
Alex Zenla
2024-09-07 02:38:54 -04:00
parent 76b61c49ae
commit f2b3b07832
4 changed files with 101 additions and 9 deletions

View File

@ -83,7 +83,7 @@ class Game: GameDelegate {
}
self.world.generateAdjacentChunksIfNeeded(position: self.player.position)
self.world.update()
self.world.update(priorityPosition: self.player.position)
}
public static let material = Material(