public Cubeface intersect(Ray ray) {
		ArrayList<Cubeface> ac = new ArrayList<Cubeface>();
		for(int i = 0; i != cubelets.length; i++) {
			ArrayList<Cubeface> acc = cubelets[i].intersect(ray);
			for(Cubeface cf : acc) {
				cf.cubelet = i;
				ac.add(cf);
			}
		}
		Collections.sort(ac);
		if(ac.size() == 0) {
			return null;
		}
		return ac.get(0);
	}