mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 21:08:27 +00:00
Avoid use of redundant struct field
This commit is contained in:
parent
1cea537b4b
commit
bf65384755
@ -85,7 +85,7 @@ impl Camera {
|
||||
model: &Model,
|
||||
) -> FocusPoint {
|
||||
self.calculate_focus_point(cursor, &model.mesh)
|
||||
.unwrap_or_else(|| FocusPoint(model.aabb.center()))
|
||||
.unwrap_or_else(|| FocusPoint(model.mesh.aabb().center()))
|
||||
}
|
||||
|
||||
fn calculate_focus_point(
|
||||
|
Loading…
Reference in New Issue
Block a user