[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java,1.62,1.63
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-02-22 10:57:30
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17669/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: Rearranging code Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** View.java 17 Feb 2006 14:45:19 -0000 1.62 --- View.java 22 Feb 2006 10:57:26 -0000 1.63 *************** *** 537,540 **** --- 537,1026 ---- /** + * The camera setup function + * @param gld The GLDrawable object + */ + public void initCamera(GLDrawable gld) { + if (log.isDebugEnabled()) { + log.debug("[display]"); + } [...979 lines suppressed...] - } - gl.glBegin(GL.GL_LINES); - gl.glDisable(GL.GL_DEPTH_TEST); - gl.glColor3fv(X_AXIS_COLOR); - gl.glVertex3d(0.0, 0.0, 0.0); - gl.glVertex3d(size, 0.0, 0.0); - gl.glColor3fv(Y_AXIS_COLOR); - gl.glVertex3d(0.0, 0.0, 0.0); - gl.glVertex3d(0.0, size, 0.0); - gl.glEnd(); - gl.glEnable(GL.GL_DEPTH_TEST); - gl.glBegin(GL.GL_LINES); - gl.glColor3fv(Z_AXIS_COLOR); - gl.glVertex3d(0.0, 0.0, 0.0); - gl.glVertex3d(0.0, 0.0, size); - gl.glEnd(); - } /** --- 2226,2229 ---- |