X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fmath%2FTransform.java;h=85a2ddaf4a38560dd69cde77e23fb84bd80f1750;hb=a3ff3683bd0a025061667b26b6fcf56fe20f0afc;hp=94c359cf276b990396edcf370ac4c5f467e6b275;hpb=8aa50f568d2edcfe974ceed4192158951e7f3215;p=sixth-3d.git diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/math/Transform.java b/src/main/java/eu/svjatoslav/sixth/e3d/math/Transform.java index 94c359c..85a2dda 100755 --- a/src/main/java/eu/svjatoslav/sixth/e3d/math/Transform.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/math/Transform.java @@ -1,11 +1,15 @@ /* - * Sixth 3D engine. Author: Svjatoslav Agejenko. + * Sixth 3D engine. Author: Svjatoslav Agejenko. * This project is released under Creative Commons Zero (CC0) license. */ package eu.svjatoslav.sixth.e3d.math; import eu.svjatoslav.sixth.e3d.geometry.Point3D; +/** + * Used to represent transformation in a 3D space. + * Transformations are represented as a translation and an orientation. + */ public class Transform implements Cloneable { private final Point3D translation; @@ -19,8 +23,7 @@ public class Transform implements Cloneable { /** * Creates a new transform with the specified translation. * - * @param translation - * the translation + * @param translation the translation */ public Transform(final Point3D translation) { this.translation = translation; @@ -30,12 +33,9 @@ public class Transform implements Cloneable { /** * Creates a new transform with the specified translation and orientation. * - * @param translation - * the translation - * @param angleXZ - * the angle around the XZ axis - * @param angleYZ - * the angle around the YZ axis + * @param translation the translation + * @param angleXZ the angle around the XZ axis + * @param angleYZ the angle around the YZ axis */ public Transform(final Point3D translation, final double angleXZ, final double angleYZ) { @@ -47,10 +47,8 @@ public class Transform implements Cloneable { /** * Creates a new transform with the specified translation and orientation. * - * @param translation - * the translation - * @param orientation - * the orientation + * @param translation the translation + * @param orientation the orientation */ public Transform(final Point3D translation, final Orientation orientation) { this.translation = translation;