Geom.P centroid = t.centroid();
gl.glBegin(GL.GL_LINES);
gl.glColor3f(1, 1, 1);
-
+ /*
centroid.glVertex(gl);
centroid.plus(t.norm().times(t.diameter())).glVertex(gl);
- /*
+ */
t.p1().glVertex(gl);
t.p1().plus(t.p1().norm().times(t.diameter())).glVertex(gl);
t.p2().glVertex(gl);
t.p2().plus(t.p2().norm().times(t.diameter())).glVertex(gl);
t.p3().glVertex(gl);
t.p3().plus(t.p3().norm().times(t.diameter())).glVertex(gl);
- */
+
gl.glEnd();
}