fix(viewports): fit extents per pane

Closes #554
This commit is contained in:
Hakan Seven committed 2026-07-29 23:03:06 +03:00
1 parent f99337cb9a
commit 3897fb2661
5 files changed
+93 -8

No files matched your search

+4
View File
@@ -464,6 +464,10 @@ impl Camera {
self.depth_half_range = self.depth_extent_in_view(min, max);
}
pub(crate) fn fitted_model_bounds(&self) -> Option<(Vec3, Vec3)> {
self.model_bounds
}
// ── ViewCube snap ─────────────────────────────────────────────────────
/// Snap to a canonical view direction (called by ViewCubeSnap).