com.robrohan.ruin.math3d
Class LineEdge
java.lang.Object
|
+--com.robrohan.ruin.math3d.Vertex
|
+--com.robrohan.ruin.math3d.LineEdge
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class LineEdge
- extends Vertex
- See Also:
- Serialized Form
Constructor Summary |
LineEdge(float x,
float z,
float y1,
float y2)
|
LineEdge(Vertex vertex,
float y1,
float y2)
|
Methods inherited from class com.robrohan.ruin.math3d.Vertex |
add, add, compareTo, getX, getZ, multiply, multiply, multiply, project, remove, remove, rotate, setAll, setAll, setX, setZ, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LineEdge
public LineEdge(Vertex vertex,
float y1,
float y2)
LineEdge
public LineEdge(float x,
float z,
float y1,
float y2)
project
public LineEdge project(float xFovCalc,
float yFovCalc)
getY1
public float getY1()
getY2
public float getY2()
setY1
public void setY1(float y1)
setY2
public void setY2(float y2)