Skip to main content

framing_zoom

Function framing_zoom 

Source
pub fn framing_zoom(scene: &RdfHolographScene) -> f32
Expand description

Orbit distance that fits resource crystals in the vertical FOV. Predicate capsules store half-span in position_scale.w; counting that as a sphere radius pulled the camera so far the field collapsed to a cluster. k=1.22 with a 4.2–16 clamp keeps a small constellation (FOAF/Star) in frame instead of filling the viewport with a single glass close-up.