- Cube cube = model.cubes.get((int) c);
- println("face length "+cube.faces.size());
- if(cube.faces.size()!=4)
- {
- for(Face f : cube.faces)
- {
- double col = Math.random()*255;
- for(Point p: f.points)
- {
- colors[p.index] = color(Math.round(col),255,255);
- }
- }
-
-
- }
- if(counter% 3 ==0)