class MyObject{ MyFace[] f = new MyFace[6]; //below are the orientations of a cube int[] xc = { -1,-1,1,1, 1,1,-1,-1, 1,-1,-1,1, 1,1,1,1, -1,1,1,-1, -1,-1,-1,-1 }; int[] yc = { -1,1,1,-1, -1,1,1,-1, -1,-1,-1,-1, 1,-1,-1,1, 1,1,1,1, -1,1,1,-1 }; int[] zc = { 1,1,1,1, -1,-1,-1,-1, -1,-1,1,1, -1,-1,1,1, -1,-1,1,1, -1,-1,1,1 }; MyObject(float s){ for(int i=0; i