[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool ConstructorTool.java, 1.5, 1.6
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-07-19 11:40:16
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30340/src/net/sourceforge/bprocessor/gl/tool Modified Files: ConstructorTool.java Log Message: Avoid constructors sharing the same origin vertex Index: ConstructorTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ConstructorTool.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ConstructorTool.java 19 Jul 2006 11:25:28 -0000 1.5 --- ConstructorTool.java 19 Jul 2006 11:40:14 -0000 1.6 *************** *** 137,141 **** } else { if (p1.vertex().equalEps(current.vertex())) { ! insertPoint(current.vertex()); cleanUp(); return; --- 137,141 ---- } else { if (p1.vertex().equalEps(current.vertex())) { ! insertPoint(current.vertex().copy()); cleanUp(); return; *************** *** 144,152 **** } else { if (p2.vertex().equalEps(current.vertex())) { ! insertLine(p1.vertex(), p2.vertex()); cleanUp(); return; } else { ! insertPlane(p1.vertex(), p2.vertex(), current.vertex()); cleanUp(); return; --- 144,152 ---- } else { if (p2.vertex().equalEps(current.vertex())) { ! insertLine(p1.vertex().copy(), p2.vertex().copy()); cleanUp(); return; } else { ! insertPlane(p1.vertex().copy(), p2.vertex().copy(), current.vertex().copy()); cleanUp(); return; |