1 package graphics.ddd; 2 3 // DATA STRUCTURES 4 5 public class Vector3d { 6 float x; 7 float y; 8 float z; 9 10 public Vector3d() { 11 } 12 13 public Vector3d(float xval, float yval, float zval) { 14 x = xval; 15 y = yval; 16 z = zval; 17 } 18 } 19