This commit is contained in:
Hanno Braun 2025-03-19 20:20:08 +01:00
parent 83ab6151b3
commit c221576858

View File

@ -170,7 +170,7 @@ impl Viewer {
let aabb = self
.model
.as_ref()
.map(|(model, _)| model.mesh.aabb())
.map(|(_, aabb)| *aabb)
.unwrap_or_default();
self.camera.update_planes(&aabb);