
/*
 * Generic 3D Model for Java Rubik's Cube
 * --------------------------------------
 *
 * Copyright 1996, Song Li  
 * URL: www.cs.umbc.edu/~sli2
 *
 * Portion of Program by David W. Liu  
 * URL: reality.sgi.com/employees/davidliu_mti
 *
 * 
 * You can use the code for any nonprofittable use. But remember to mention
 * the authors' names in your revised program. You are also encouraged to
 * improve the program or give your comments and bug reports. If there are
 * further questions, please contact me and I'll be glad to help. My E-Mail
 * address is: sli2@gl.umbc.edu.
 *
 */


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) {
      x = v.x;
      y = v.y;
      z = v.z;
    }

    public void Print () {
      System.out.println ("Vertex [" + x + ", " + y + ", " + z + "]") ;
    }

}
