[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java,1.63,1.64
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-02-22 15:05:39
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21448/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: Clean up Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** View.java 22 Feb 2006 10:57:26 -0000 1.63 --- View.java 22 Feb 2006 15:05:31 -0000 1.64 *************** *** 1087,1123 **** boolean deviceChanged) { } - - - /** - * Decorate Surface - * @param surface The Surface to decorate - */ - void decorateSurface(Surface surface) { - Vertex from = surface.center(); - CoordinateSystem system = surface.coordinateSystem(); - Vertex n = system.getN(); - - Edge edge = new Edge(from, from.add(n)); - gl.glColor3d(0.0, 0.0, 1.0); - drawEdge(edge); - } /** - * Draw special decoration on selection - * - */ - void decorateSelection() { - Collection selection = glv.getTool().getSelection(); - if (selection.size() == 1) { - Iterator iter = selection.iterator(); - while (iter.hasNext()) { - Object current = iter.next(); - if (current instanceof Surface) { - decorateSurface((Surface) current); - } - } - } - } - /** * Called when a space-label corresponding to the front of a Surface is selected. */ --- 1087,1092 ---- |