/**
  * Listens for mouse release and controls aspects of the renderer. A release in the upper left
  * corner toggles {@link Renderer#tableMode}. A release in the upper right corner toggle
  * visibility of the {@link Material#table}display. When true, the current material table is
  * displayed in the upper left corner of the window. Position of the mouse determines current
  * material. A release in the lower right toggles {@link Renderer#showMesh}
  *
  * @param event Event
  * @param x current x coordinate
  * @param y current y coordinate
  * @return true
  */
 public boolean mouseUp(int x, int y) {
   Renderer.setDragging(false);
   if (x < 35 && y < 35) {
     Renderer.tableMode = !Renderer.tableMode;
   }
   if (x > W - 35 && y < 35) {
     seeMaterial = !seeMaterial;
     renderer.bufferg = !renderer.bufferg;
     damage();
   }
   if (x > W - 35 && y > H - 35) {
     renderer.showMesh = !renderer.showMesh;
     damage();
   }
   return true;
 }
 /**
  * Listener for mouse down. Mouse down starts a view rotation.
  *
  * @return true
  */
 public boolean mouseDown(int x, int y) {
   Renderer.setDragging(true);
   mx = x;
   my = y;
   return true;
 }