Convert degrees to radians.
degrees
static double degreesToRadians(double degrees) { return (degrees * math.pi) / 180; }