[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Surface.java,1.60,1.61
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2005-12-21 15:42:04
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24383/src/net/sourceforge/bprocessor/model Modified Files: Surface.java Log Message: Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** Surface.java 20 Dec 2005 15:07:52 -0000 1.60 --- Surface.java 21 Dec 2005 15:41:55 -0000 1.61 *************** *** 380,386 **** * Extrude this surface * @param delta How much to extrude along the normal * @return The top in the extruded surface */ ! public Surface extrude(double delta) { Vertex normal = normal(); normal.scale(delta / normal.length()); --- 380,387 ---- * Extrude this surface * @param delta How much to extrude along the normal + * @param sides Will contain the sides that are created * @return The top in the extruded surface */ ! public Surface extrude(double delta, Set sides) { Vertex normal = normal(); normal.scale(delta / normal.length()); *************** *** 442,446 **** facemap[i] = new Surface(newEdges); Project.getInstance().intern(facemap[i]); ! } --- 443,447 ---- facemap[i] = new Surface(newEdges); Project.getInstance().intern(facemap[i]); ! sides.add(facemap[i]); } |