Refactoring to remove unneeded complexity.
[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
deleted file mode 100644 (file)
index eb4745a..0000000
+++ /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;
-    }
-
-}