X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgeometry%2FPoint3D.java;h=8d723454c453370682e01c91f7a7cc2b9cc58e9e;hp=78efbdaf74d4bc1f228ab69ab24cd032cf6d62c7;hb=ff13a51ec53b3d2ee1c9309152ed2b40366218b9;hpb=dad067ef848d1488f8d048eb4323ebbcb1bae761 diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java b/src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java index 78efbda..8d72345 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java @@ -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. */