2 * Sixth 3D engine. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
5 package eu.svjatoslav.sixth.e3d.renderer.raster.slicer;
7 import eu.svjatoslav.sixth.e3d.geometry.Point2D;
8 import eu.svjatoslav.sixth.e3d.geometry.Point3D;
12 * This class is used to store coordinates of a point in 3D space and its
15 * TODO: Refactor this class out of existence. Use Vertex instead. Texture coordinates should be moved to Vertex.
17 public class PolygonCoordinate {
20 * Space coordinate of the point.
22 public Point3D spaceCoordinate;
25 * Texture coordinate of the point.
27 public Point2D textureCoordinate;
29 public PolygonCoordinate(final Point3D spaceCoordinate, final Point2D textureCoordinate) {
30 this.spaceCoordinate = spaceCoordinate;
31 this.textureCoordinate = textureCoordinate;