afonsolage / projekto

Voxel game made with Bevy Engine
MIT License
59 stars 4 forks source link

World breakdown #55

Closed afonsolage closed 2 years ago

afonsolage commented 2 years ago

Closes #53

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.