package com.flansmod.client.tmt;
/**
* This class represents a coordinate space and its UV coordinates. This allows for
* easier flat shape planning.
* @author GaryCXJk
*
*/
public class Coord2D
{
public Coord2D(double x, double y)
{
xCoord = x;
yCoord = y;
uCoord = (int)Math.floor(x);
vCoord = (int)Math.floor(y);
}
public Coord2D(double x, double y, int u, int v)
{
this(x, y);
uCoord = u;
vCoord = v;
}
public double xCoord;
public double yCoord;
public int uCoord;
public int vCoord;
}