[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view Display.java, 1.24, 1.25
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-10-10 11:39:46
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv476/src/net/sourceforge/bprocessor/gl/view Modified Files: Display.java Log Message: space hilite Index: Display.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/Display.java,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** Display.java 10 Oct 2007 09:27:53 -0000 1.24 --- Display.java 10 Oct 2007 11:39:46 -0000 1.25 *************** *** 715,720 **** --- 715,722 ---- color = grey; } + gl.glDepthMask(false); paintEdges(normal, color, size); paintStippled(stippled, middleblue, size); + gl.glDepthMask(true); } *************** *** 757,761 **** --- 759,773 ---- } + for (Geometric current : geometrics) { + if (current instanceof Space) { + Space space = (Space) current; + Collection<Surface> envelope = space.getEnvelope(); + Collection<Edge> edges = Surface.edges(envelope); + paintEdges(edges, redish, 2.0f); + } + } + gl.glEnable(GL.GL_LINE_STIPPLE); + gl.glLineWidth(3.0f); for (Geometric current : geometrics) { if (current instanceof Constructor) { |