Static World Gen and Display for the Overworld #5

Merged
msrd0 merged 21 commits from overworld-house-gen into main 2024-07-06 20:23:25 +00:00
Showing only changes of commit 3d5b5d37b6 - Show all commits

View file

@ -287,7 +287,7 @@ impl Overworld {
chunk.get_tile(local_chunk_coords) chunk.get_tile(local_chunk_coords)
} }
fn get_or_generate_tile(&mut self, world_coords: IVec2) -> &Tile { pub fn get_or_generate_tile(&mut self, world_coords: IVec2) -> &Tile {
let (chunk_coords, local_chunk_coords) = let (chunk_coords, local_chunk_coords) =
world_to_chunk_and_local_coords(world_coords); world_to_chunk_and_local_coords(world_coords);