clicks_for

Function clicks_for 

Source
pub fn clicks_for(drop_yd: f64, range_yd: f64, click: &ClickValue) -> i64
Expand description

Whole-click adjustment for a drop at a range: the angular value in the graduation’s own base unit divided by the graduation, rounded to the nearest click (ties away from zero). Sign is preserved. Ranges under 1 yard are defined as zero adjustment, matching the CLI’s drop_to_adjustment short-range guard.