Small Fixes to try and improve performance

This commit is contained in:
Elias Stepanik 2025-06-09 13:33:37 +02:00
parent 5fa3af97db
commit 959bb96752
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ pub fn setup(
// 2. Generate sphere in parallel, dropping the cloned Arc inside the function
let color = Color::rgb(0.2, 0.8, 0.2);
generate_voxel_sphere(&mut octree, 100, color);
generate_voxel_sphere(&mut octree, 110, color);
// 4. Spawn entity with both Transform and the real octree component
commands.entity(root.0).with_children(|parent| {

View File

@ -34,6 +34,5 @@ pub fn update_chunk_lods(
for key in changed {
tree.dirty_chunks.insert(key);
tree.mark_neighbors_dirty_from_key(key);
}
}