Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17187/src/net/sourceforge/bprocessor/gl/view
Modified Files:
View.java
Log Message:
CoordinateSystem.normalize() normalizes the vectors in the coordinate-system Ð keeping the direction of the i vector
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.135
retrieving revision 1.136
diff -C2 -d -r1.135 -r1.136
*** View.java 11 Aug 2006 08:23:26 -0000 1.135
--- View.java 11 Aug 2006 12:44:25 -0000 1.136
***************
*** 1912,1920 ****
drawVertexHit(origin);
popName(gl);
! if (current instanceof Line) {
! Line line = (Line) current;
! Vertex tip = line.tip(dist / 16);
! pushName(gl, tip);
! this.drawVectorTip(origin, tip);
popName(gl);
}
--- 1912,1921 ----
drawVertexHit(origin);
popName(gl);
! List handles = current.handles(dist / 16);
! Iterator iterator = handles.iterator();
! while (iterator.hasNext()) {
! Vertex handle = (Vertex) iterator.next();
! pushName(gl, handle);
! this.drawVectorTip(origin, handle);
popName(gl);
}
|