}
@Override
public void build() {
boxes[0] = new Box(cam, d, p, r, color);
// for(int i = 0;i<SHAPE_NUM/8;i++){
// }
shape[0] = new Box(cam, new Vector(3,3,d.z-3), p.add(new Vector(d.x,d.y,0)), r, color);
shape[1] = new Box(cam, new Vector(3,3,d.z-3), p.add(new Vector(d.x,-d.y,0)), r, color);
shape[2] = new Box(cam, new Vector(3,3,d.z-3), p.add(new Vector(-d.x,d.y,0)), r, color);
shape[3] = new Box(cam, new Vector(3,3,d.z-3), p.add(new Vector(-d.x,-d.y,0)), r, color);
shape[4] = new Box(cam, new Vector(d.x+3,3,3), p.add(new Vector(0,d.y,d.z)), r, color);
shape[5] = new Box(cam, new Vector(d.x+3,3,3), p.add(new Vector(0,d.y,-d.z)), r, color);
shape[6] = new Box(cam, new Vector(d.x+3,3,3), p.add(new Vector(0,-d.y,d.z)), r, color);
shape[7] = new Box(cam, new Vector(d.x+3,3,3), p.add(new Vector(0,-d.y,-d.z)), r, color);
shape[8] = new Box(cam, new Vector(3,d.y-3,3), p.add(new Vector(d.x,0,d.z)), r, color);
shape[9] = new Box(cam, new Vector(3,d.y-3,3), p.add(new Vector(d.x,0,-d.z)), r, color);
shape[10] = new Box(cam, new Vector(3,d.y-3,3), p.add(new Vector(-d.x,0,d.z)), r, color);
shape[11] = new Box(cam, new Vector(3,d.y-3,3), p.add(new Vector(-d.x,0,-d.z)), r, color);
for(Shape s:shape)
World.shapes.add(s);
}