py-ballisticcalc
py-ballisticcalc copied to clipboard
Enforce sort order for winds
In the case of multiple winds: TrajectoryCalc
assumes that Shot.winds[]
is sorted by Wind.until_distance
(ascending). However right now we do not enforce that or even check whether that assumption is valid.
What is the best way to handle this?