Closed afonsolage closed 5 months ago
Maybe I should add a Local
struct and a Voxel
struct to make those concepts even clearer.
I've already get rid of Local
and changed Chunk
just to be a dumb IVec2
. Next step is to rename ChunkLocal
to ChunkId
and done.
It's very confusing the term
local
because sometimes it means the chunk local position inside the world and other times it means the voxel local position inside the world.When using a function that handles both locals, it's very confusing.
Maybe keep local for chunks and name voxel to the local inside chunk.