void setup()
{
  cube.begin();
  corners[0]=Point(cube.size-1, 0, 0);
  corners[1]=Point(cube.size-1, cube.size-1, 0);
  corners[2]=Point(cube.size-1, cube.size-1, cube.size-1);
  corners[3]=Point(cube.size-1, 0, cube.size-1);
}
Example #2
0
void setup()
{
  cube.begin();
  cube.background(black);
}