private void drawTriangle(Graphics2D g2d, Triangle triangle) {

		g2d.fillPolygon(
				new int[] { (int) Math.round(triangle.getX1()),
						(int) Math.round(triangle.getX2()),
						(int) Math.round(triangle.getX3()) },
				new int[] { (int) Math.round(triangle.getY1()),
						(int) Math.round(triangle.getY2()),
						(int) Math.round(triangle.getY3()) }, 3);
	}