/* Vertex.java
 * Author: David Wanqian Liu
 * Date: Dec 20, 1995
 */


/** Representation of vertices in a 3D model.
    All points in the model are described as float.
 */
class Vertex {
  public float x;
  public float y;
  public float z;

  public Vertex() {
    x = y = z = 0.0f;
  }

  public Vertex(float x, float y, float z) {
    this.x = x;
    this.y = y;
    this.z = z;
  }

  public Vertex(Vertex v) {
    this.x = v.x;
    this.y = v.y;
    this.z = v.z;
  }
}
