[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool ExtrusionTool.java, 1.48, 1.49
Status: Pre-Alpha
Brought to you by:
henryml
|
From: rimestad <rim...@us...> - 2007-02-19 15:47:51
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21593/src/net/sourceforge/bprocessor/gl/tool Modified Files: ExtrusionTool.java Log Message: Removed commented code and log info Index: ExtrusionTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ExtrusionTool.java,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** ExtrusionTool.java 19 Feb 2007 14:59:28 -0000 1.48 --- ExtrusionTool.java 19 Feb 2007 15:47:43 -0000 1.49 *************** *** 186,211 **** Set ignore = new HashSet(2); ignore.add(extrudesurface); ! if (extrudesurface.getExterior() != null) { ignore.add(extrudesurface.getExterior()); } findTarget(e, ignore); - /*if (metaPressed) { - // extrude onto the plane generated by surfaces - if (target instanceof Surface && extrusion != null && !extrusion.contains(target)) { - Surface sur = (Surface) target; - if (normal.dot(sur.normal()) == 0) { - // the normals are orthogonal so we cant extrude one to the other - // therefore we just extrude as useual - calcDistCallExtrude(to, from, normal); - } else { - ontoPlane = sur.plane(); - extrudeOnto(ontoPlane, all, false); - } - } else { - calcDistCallExtrude(to, from, normal); - } - } else */ { - // extrude the normal way if (target instanceof Surface && extrusion != null && !extrusion.contains(target)) { Surface surface = (Surface) target; --- 186,194 ---- Set ignore = new HashSet(2); ignore.add(extrudesurface); ! if (extrudesurface.getExterior() != null) { ignore.add(extrudesurface.getExterior()); } findTarget(e, ignore); { if (target instanceof Surface && extrusion != null && !extrusion.contains(target)) { Surface surface = (Surface) target; *************** *** 222,226 **** } else { ontoPlane = surface.plane(); - log.info(Math.abs(ontoPlane.normal().dot(normal))); if (Math.abs(ontoPlane.normal().dot(normal)) <= 0.1) { // the two normals have a greater angle between 0 and 84 or 94 and 180 degrees --- 205,208 ---- |