X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Frenderer%2Fraster%2Fslicer%2FPolygonCoordinate.java;h=328896df66d4b87518edb30f19b29aaf00acc7c0;hb=77e87370474822855924c2650fcccf61cb41a05f;hp=78c7da64afffc9eaecb364eef51b22cef8b21edd;hpb=6b39de1e9e80433b78ae731845551e742718d613;p=sixth-3d.git 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 78c7da6..328896d 100644 --- 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 @@ -1,25 +1,32 @@ /* - * Sixth 3D engine. Copyright ©2012-2020, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of version 3 of the GNU Lesser General Public License - * or later as published by the Free Software Foundation. - * + * Sixth 3D engine. Author: Svjatoslav Agejenko. + * This project is released under Creative Commons Zero (CC0) license. */ - package eu.svjatoslav.sixth.e3d.renderer.raster.slicer; 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 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 texture) { - this.space = space; - this.texture = texture; + public PolygonCoordinate(final Point3D spaceCoordinate, final Point2D textureCoordinate) { + this.spaceCoordinate = spaceCoordinate; + this.textureCoordinate = textureCoordinate; } }