Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21160/src/net/sourceforge/bprocessor/gl/tool
Modified Files:
AbstractPencil.java
Log Message:
Another attempt at fixing the orthogonal constructors - stil does not quite work
Index: AbstractPencil.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/AbstractPencil.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** AbstractPencil.java 8 May 2006 08:53:14 -0000 1.30
--- AbstractPencil.java 8 May 2006 12:47:33 -0000 1.31
***************
*** 385,390 ****
plane = new Plane(0, 0, 1, 0);
}
!
CoordinateSystem system = plane.coordinateSystem();
Vertex direction = parrallel.getDirection();
direction = system.translate(direction);
--- 385,391 ----
plane = new Plane(0, 0, 1, 0);
}
!
CoordinateSystem system = plane.coordinateSystem();
+
Vertex direction = parrallel.getDirection();
direction = system.translate(direction);
***************
*** 393,397 ****
direction.setX(-y);
direction.setY(x);
! system.unTranslate(direction);
direction.scale(50 / direction.length());
Edge orthogonal = null;
--- 394,398 ----
direction.setX(-y);
direction.setY(x);
! direction = system.unTranslate(direction);
direction.scale(50 / direction.length());
Edge orthogonal = null;
|