Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 795d5ef

Browse files
committed
removes T3d.addF
1 parent 478c7ee commit 795d5ef

File tree

1 file changed

+3
-11
lines changed
  • sources/net.sf.j2s.java.core/src/javajs/util

1 file changed

+3
-11
lines changed

sources/net.sf.j2s.java.core/src/javajs/util/T3d.java

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,6 @@ public final void add(T3d t) {
121121
z += t.z;
122122
}
123123

124-
public void addF(T3 t) {
125-
x += t.x;
126-
y += t.y;
127-
z += t.z;
128-
}
129-
130-
131-
132124
/**
133125
* Computes the square of the distance between this point and point p1.
134126
*
@@ -366,13 +358,13 @@ public String toJSON() {
366358
return "[" + x + "," + y + "," + z + "]";
367359
}
368360

369-
public T3d setP(T3 t) {
361+
public T3d setP(T3d t) {
370362
set(t.x, t.y, t.z);
371363
return this;
372364
}
373365

374-
public T3 putP(T3 t) {
375-
t.set((float) x, (float) y, (float) z);
366+
public T3d putP(T3d t) {
367+
t.set(x, y, z);
376368
return t;
377369
}
378370

0 commit comments

Comments
 (0)