barrelElevationForTarget method

Angular barrelElevationForTarget(
  1. Shot shot,
  2. Distance targetDistance
)

Returns the barrel elevation (relative to look-angle) needed to hit a target at targetDistance.

Implementation

Angular barrelElevationForTarget(Shot shot, Distance targetDistance) =>
    calcBarrelElevationForTarget(
      _engine,
      method,
      config,
      shot,
      targetDistance,
    );