,
     1, -1, -1,
     1,  1, -1,
    -1,  1, -1,
    -1, -1,  1,
     1, -1,  1,
     1,  1,  1,
    -1,  1,  1,
  ];
  var cubeColors = [
     0, 0, 0,
     1, 0, 0,
     0, 1, 0,
     1, 1, 0,
     0, 0, 1,
     1, 0, 1,
     0, 1, 1,
     1, 1, 1,
  ];

/*
    3+-----+2
    /|    /|
   / |   / |
 7+-----+6 |
  | 0+--|--+1
  | /   | /
  |/    |/
 4+-----+5
*/

  var indices = [
    0, 1, 2,
    0, 2, 3,

    4, 5, 6,
    4, 6, 7,

    0, 1, 4,
    4, 5, 1,

    2, 3, 7,
    7, 2, 6,

    6, 2, 1,
    6, 