fn direction_angle( direction: ExecutableTargetDirection, rng: Option<&mut dyn FnMut() -> f64>, ) -> Result<f64, TargetShapeError>