Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27413/src/net/sourceforge/bprocessor/gl/view
Modified Files:
View.java
Log Message:
Removed activeedge from view
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** View.java 3 May 2006 07:19:36 -0000 1.80
--- View.java 3 May 2006 08:49:24 -0000 1.81
***************
*** 150,156 ****
protected static double gridSize = 25.0;
- /** The Active edge */
- protected static Edge activeEdge = null;
-
/** */
public static final int WIREFRAME_MODE = 0;
--- 150,153 ----
***************
*** 723,742 ****
Vertex to = null;
- if (activeEdge != null) {
- to = activeEdge.getTo();
- Vertex from = activeEdge.getFrom();
- if (cmp(from.getY(), to.getY()) && cmp(from.getZ(), to.getZ())) {
- gl.glColor3fv(X_AXIS_COLOR);
- } else if (cmp(from.getX(), to.getX()) && cmp(from.getZ(), to.getZ())) {
- gl.glColor3fv(Y_AXIS_COLOR);
- } else if (cmp(from.getX(), to.getX()) && cmp(from.getY(), to.getY())) {
- gl.glColor3fv(Z_AXIS_COLOR);
- } else {
- gl.glColor3fv(lineColor);
- }
- gl.glLineWidth(1.0f);
- drawEdge(activeEdge);
- }
-
if (to == null) {
to = currentVertex;
--- 720,723 ----
***************
*** 1691,1710 ****
}
}
-
- /**
- * Getter for activeEdge
- * @return activeEdge
- */
- public Edge getActiveEdge() {
- return activeEdge;
- }
-
- /**
- * Set activeEdge
- * @param e The activeEdge
- */
- public void setActiveEdge(Edge e) {
- activeEdge = e;
- }
/**
--- 1672,1675 ----
|