Update of /cvsroot/bprocessor//model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16807/src/net/sourceforge/bprocessor/model
Modified Files:
Vertex.java
Log Message:
added a move method to vertex that take a vector instead of dx, dy, dz (the new method just unpacks the vertex and calls the old method
Index: Vertex.java
===================================================================
RCS file: /cvsroot/bprocessor//model/src/net/sourceforge/bprocessor/model/Vertex.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** Vertex.java 16 Apr 2007 15:55:22 -0000 1.59
--- Vertex.java 24 May 2007 10:54:36 -0000 1.60
***************
*** 402,405 ****
--- 402,413 ----
/**
+ * Moves the vertex the vector d
+ * @param d the move vector
+ */
+ public void move(Vertex d) {
+ move(d.getX(), d.getY(), d.getZ());
+ }
+
+ /**
* String representation of the object
* @return The string
|