X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Frenderer%2Fraster%2Fslicer%2FPolygonCoordinate.java;fp=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Frenderer%2Fraster%2Fslicer%2FPolygonCoordinate.java;h=0000000000000000000000000000000000000000;hp=eb4745af0efb1a4538ece696fb6ef986b987f518;hb=59980888bd6bba94f84e4f63ce67e5b624df8aea;hpb=9f20345e99404017a98d3ae95b7588cabb31a9bf 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 deleted file mode 100644 index eb4745a..0000000 --- a/src/main/java/eu/svjatoslav/sixth/e3d/renderer/raster/slicer/PolygonCoordinate.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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. - * - * TODO: Refactor this class out of existence. Use Vertex instead. Texture coordinates should be moved to Vertex. - */ -public class PolygonCoordinate { - - /** - * Space coordinate of the point. - */ - public Point3D spaceCoordinate; - - /** - * Texture coordinate of the point. - */ - public Point2D textureCoordinate; - - public PolygonCoordinate(final Point3D spaceCoordinate, final Point2D textureCoordinate) { - this.spaceCoordinate = spaceCoordinate; - this.textureCoordinate = textureCoordinate; - } - -}