[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java, 1.198, 1.199
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Michael L. <he...@us...> - 2007-03-23 12:54:51
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23681/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: Grid uses linewidth 0.5 Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.198 retrieving revision 1.199 diff -C2 -d -r1.198 -r1.199 *** View.java 22 Mar 2007 11:46:34 -0000 1.198 --- View.java 23 Mar 2007 12:54:49 -0000 1.199 *************** *** 808,814 **** protected void grid(CoordinateSystem cs) { double size = View.gridSize(); ! gl.glLineWidth(1.0f); gl.glColor4fv(gridColor, 0); ! //gl.glDisable(GL.GL_DEPTH_TEST); gl.glBegin(GL.GL_LINES); --- 808,814 ---- protected void grid(CoordinateSystem cs) { double size = View.gridSize(); ! gl.glLineWidth(0.5f); gl.glColor4fv(gridColor, 0); ! gl.glEnable(GL.GL_DEPTH_TEST); gl.glBegin(GL.GL_LINES); *************** *** 970,974 **** } } ! drawConstructorPlanes(); } --- 970,974 ---- } } ! grid(Project.getInstance().getActiveCoordinateSystem()); drawConstructorPlanes(); } *************** *** 1230,1234 **** drawGeneralConstructor(Project.getInstance().getActiveCoordinateSystem(), dist, true, OBJECTS); ! grid(Project.getInstance().getActiveCoordinateSystem()); gl.glPopMatrix(); } --- 1230,1234 ---- drawGeneralConstructor(Project.getInstance().getActiveCoordinateSystem(), dist, true, OBJECTS); ! // grid(Project.getInstance().getActiveCoordinateSystem()); gl.glPopMatrix(); } |