ZERO_RANGE_FROM_ANGLE_MAX_RANGE_M

Constant ZERO_RANGE_FROM_ANGLE_MAX_RANGE_M 

Source
pub const ZERO_RANGE_FROM_ANGLE_MAX_RANGE_M: f64 = 2000.0;
Expand description

Generous solve envelope for calculate_zero_range_from_angle_with_conditions / calculate_zero_range_from_angle_with_resolved_conditions (MBA-1402): a “zero” bore angle is a near-horizontal shot, so its far line-of-sight crossing sits well inside this even at extended small-arms ranges. Double the engine’s own default 1000 m solve envelope (TrajectorySolver::new) rather than something scaled to an (unknown, being solved for) target distance; solve() still stops at ground impact well before this in the typical case, so the larger envelope costs effectively nothing.