function rotateCube
   square = [ -1 -1 1;
              -1 1 1;
              1 1 1;
              1 -1 1]'
          
     for a=1:200
         x = zRotate(a * 1/100 * pi, square);
         cubeScene(x);
         drawnow;
     end