public void mousePressed(MouseEvent e) {
		if(Global.isRunning) { return; } // block mouse input while simulating
		if(e.getButton() == MouseEvent.BUTTON1) { // translate the view
			shiftStartPoint = e.getPoint();
			setCursor(Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));
		} else if(e.getButton() == MouseEvent.BUTTON3) {
			// rotate if 3D
			if(pt instanceof Transformation3D) {
				rotateStartPoint = e.getPoint();
			}
		}
	}