This PR changes how VoxWorld is available on ECS. Instead of a single VoxWorldRes which could be unavailable while there is a background task running, now there are multiple ChunkWorldRes each one with Kind, Light, VoxelVertex and so on.
This way will be easier for systems to query for kinds or lights.
Closes #53
This PR changes how
VoxWorld
is available on ECS. Instead of a singleVoxWorldRes
which could be unavailable while there is a background task running, now there are multipleChunkWorldRes
each one withKind
,Light
,VoxelVertex
and so on.This way will be easier for systems to query for kinds or lights.