experimenting with water surface mesh

This commit is contained in:
2024-10-19 01:33:03 -04:00
parent b61dacf5e2
commit cc3e43da16
17 changed files with 263 additions and 124 deletions

View File

@@ -30,12 +30,14 @@ impl PhosChunk {
#[derive(Resource, Default)]
pub struct PhosChunkRegistry {
pub chunks: Vec<Entity>,
pub waters: Vec<Entity>,
}
impl PhosChunkRegistry {
pub fn new(size: usize) -> Self {
return Self {
chunks: Vec::with_capacity(size),
waters: Vec::with_capacity(size),
};
}
}