[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/view View.java, 1.116, 1.117
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2006-07-20 12:58:55
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22263/src/net/sourceforge/bprocessor/gl/view Modified Files: View.java Log Message: removed drawing of constructor plane and chaged the drawing of coordinatesystem Index: View.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v retrieving revision 1.116 retrieving revision 1.117 diff -C2 -d -r1.116 -r1.117 *** View.java 19 Jul 2006 14:31:05 -0000 1.116 --- View.java 20 Jul 2006 12:58:52 -0000 1.117 *************** *** 965,982 **** drawConstructorPoint(l.getOrigin(), dist); drawConstructorVector(l.getOrigin(), l.getDirection(), dist); - } else if (o instanceof Plane) { - Plane p = (Plane)o; - drawConstructorPoint(p.getOrigin(), dist); - drawConstructorVector(p.getOrigin(), p.getI(), dist); - drawConstructorVector(p.getOrigin(), p.getJ(), dist); } else if (o instanceof CoordinateSystem) { CoordinateSystem cs = (CoordinateSystem)o; - drawConstructorPoint(cs.getOrigin(), dist); Vertex i = cs.getI(); Vertex j = cs.getJ(); ! Vertex n = cs.getN(); drawConstructorVector(cs.getOrigin(), i, dist); drawConstructorVector(cs.getOrigin(), j, dist); ! drawConstructorVector(cs.getOrigin(), n, dist); } } --- 965,981 ---- drawConstructorPoint(l.getOrigin(), dist); drawConstructorVector(l.getOrigin(), l.getDirection(), dist); } else if (o instanceof CoordinateSystem) { CoordinateSystem cs = (CoordinateSystem)o; Vertex i = cs.getI(); Vertex j = cs.getJ(); ! gl.glColor3fv(X_AXIS_COLOR); drawConstructorVector(cs.getOrigin(), i, dist); + gl.glColor3fv(Y_AXIS_COLOR); drawConstructorVector(cs.getOrigin(), j, dist); ! if (!cs.onlyPlane()) { ! Vertex n = cs.getN(); ! gl.glColor3fv(Z_AXIS_COLOR); ! drawConstructorVector(cs.getOrigin(), n, dist); ! } } } |