Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28312/src/net/sourceforge/bprocessor/gl/view
Modified Files:
View.java
Log Message:
removed printout and changed a little on the drawing og a line
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** View.java 6 Jul 2006 15:10:26 -0000 1.98
--- View.java 7 Jul 2006 10:52:29 -0000 1.99
***************
*** 943,948 ****
*/
private void drawConstructorCS(CoordinateSystem system) {
! // TODO Auto-generated method stub
!
}
--- 943,950 ----
*/
private void drawConstructorCS(CoordinateSystem system) {
! Vertex i = system.getI();
! Vertex j = system.getJ();
! Vertex n = system.getN();
! //TODO draw all three vectors
}
***************
*** 952,957 ****
*/
private void drawConstructorPlane(Plane plane) {
! // TODO Auto-generated method stub
!
}
--- 954,958 ----
*/
private void drawConstructorPlane(Plane plane) {
! //TODO consider making the plane constructor as the cuttingplane
}
***************
*** 963,968 ****
Vertex from = line.getOrigin();
Vertex dir = line.getDirection();
! System.out.println(line);
gl.glColor3fv(CONSTRUCTOR_COLOR);
gl.glBegin(GL.GL_LINES);
gl.glVertex3d(from.getX(), from.getY(), from.getZ());
--- 964,973 ----
Vertex from = line.getOrigin();
Vertex dir = line.getDirection();
! gl.glPointSize(8);
gl.glColor3fv(CONSTRUCTOR_COLOR);
+ gl.glBegin(GL.GL_POINTS);
+ gl.glVertex3d(from.getX(), from.getY(), from.getZ());
+ gl.glEnd();
+ gl.glLineWidth(2);
gl.glBegin(GL.GL_LINES);
gl.glVertex3d(from.getX(), from.getY(), from.getZ());
***************
*** 979,983 ****
gl.glPopMatrix();
}
!
/**
* Draw a constructor point
--- 984,988 ----
gl.glPopMatrix();
}
!
/**
* Draw a constructor point
|