mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 02:18:28 +00:00
Simplify
This commit is contained in:
parent
83ab6151b3
commit
c221576858
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user