Skip to content

illumination_central

Defined in: eclipse.rs:93

fn illumination_central(observer_pos: &nalgebra::Vector3<f64>, light_pos: &nalgebra::Vector3<f64>, occulter_radius: f64, light_radius: f64, model: ShadowModel) -> f64

Convenience wrapper for illumination when the occulting body is at the coordinate origin.

This matches the common Earth-centered use case where satellite and Sun positions are both relative to Earth’s center.