zero_banner_dial_values

Function zero_banner_dial_values 

Source
pub fn zero_banner_dial_values(
    angle_deg: f64,
    angle_rad: f64,
    elevation_cf: f64,
) -> (f64, f64)
Expand description

Zero-banner dial values (MOA, mrad) for a solved zero angle, corrected by the elevation tracking correction factor (MBA-1358).

Direction: the stored CF is the published tall-target ratio actual measured travel / dialed travel (0.95 = the scope under-tracks by 5%). To obtain a true angular need N on a scope whose dialed unit delivers CF true units, the number set on the dial must be N / CF — so dial-unit OUTPUTS are DIVIDED by the CF.

Replicates the WASM terminal’s historical banner conversions bit-for-bit at elevation_cf == 1.0: deg * 60.0 (true MOA — deliberately NOT this module’s locked printed-table Moa = 3438.0 factor; see the MBA-724 note in the wasm banner sites) and rad * 1000.0, each divided by exactly 1.0 (a bit-exact no-op). Lives here, in an ungated module, so the emit rule is host-testable (wasm.rs is wasm32-gated) and shared by all three banner sites instead of being edited in parallel.