atan2d function

double atan2d(
  1. double y,
  2. double x
)

Calculates arctangent2 in degrees

Implementation

double atan2d(double y, double x) {
  return toDegrees(math.atan2(y, x));
}