Vectors { public static double angleToXAxis(Vector vector) { return atan2(vector.getX(), vector.getY()); }  static Vector rotate(Vector vector, double angleX, double angleY, double angleZ); static Vector rotateAroundXAxis(Vector vector, double angle); static Vector rotateAroundYAxis(Vector vector, double angle); static Vector rotateAroundZAxis(Vector vector, double angle); static Vector rotate(Vector vector, Location pivot); static Vector rotate(Vector vector, float yawDegrees, float pitchDegrees); static Location rotate(Location location, Location pivot); static Location rotate(Location location, float yawDegrees, float pitchDegrees); static double angleToXAxis(Vector vector);  }
@Test void angleToXAxis() { assertEquals(0.4636476090008061, Vectors.angleToXAxis(vector), 0.0001); }