projects
/
sixth-3d.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved code readability
[sixth-3d.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
sixth
/
e3d
/
renderer
/
raster
/
slicer
/
PolygonCoordinate.java
diff --git
a/src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/PolygonCoordinate.java
b/src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/PolygonCoordinate.java
index
eca9afc
..
328896d
100644
(file)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/PolygonCoordinate.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/PolygonCoordinate.java
@@
-7,14
+7,26
@@
package eu.svjatoslav.sixth.e3d.renderer.raster.slicer;
import eu.svjatoslav.sixth.e3d.geometry.Point2D;
import eu.svjatoslav.sixth.e3d.geometry.Point3D;
import eu.svjatoslav.sixth.e3d.geometry.Point2D;
import eu.svjatoslav.sixth.e3d.geometry.Point3D;
+/**
+ * Polygon coordinate.
+ * This class is used to store coordinates of a point in 3D space and its
+ * texture coordinate.
+ */
public class PolygonCoordinate {
public class PolygonCoordinate {
- public Point3D space;
- public Point2D texture;
+ /**
+ * Space coordinate of the point.
+ */
+ public Point3D spaceCoordinate;
+
+ /**
+ * Texture coordinate of the point.
+ */
+ public Point2D textureCoordinate;
- public PolygonCoordinate(final Point3D space
, final Point2D textur
e) {
- this.space
= spac
e;
- this.texture
= textur
e;
+ public PolygonCoordinate(final Point3D space
Coordinate, final Point2D textureCoordinat
e) {
+ this.space
Coordinate = spaceCoordinat
e;
+ this.texture
Coordinate = textureCoordinat
e;
}
}
}
}