Updated readability of the code.
[sixth-3d.git] / src / main / java / eu / svjatoslav / sixth / e3d / geometry / Point3D.java
index 78efbda..8d72345 100755 (executable)
@@ -172,6 +172,10 @@ public class Point3D implements Cloneable {
         return this;
     }
 
+    public Point3D rotate(final double angleXZ, final double angleYZ) {
+        return rotate(new Point3D(0, 0, 0), angleXZ, angleYZ);
+    }
+
     /**
      * Round current point coordinates to integer values.
      */