We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 478c7ee commit 795d5efCopy full SHA for 795d5ef
sources/net.sf.j2s.java.core/src/javajs/util/T3d.java
@@ -121,14 +121,6 @@ public final void add(T3d t) {
121
z += t.z;
122
}
123
124
- public void addF(T3 t) {
125
- x += t.x;
126
- y += t.y;
127
- z += t.z;
128
- }
129
-
130
131
132
/**
133
* Computes the square of the distance between this point and point p1.
134
*
@@ -366,13 +358,13 @@ public String toJSON() {
366
358
return "[" + x + "," + y + "," + z + "]";
367
359
368
360
369
- public T3d setP(T3 t) {
361
+ public T3d setP(T3d t) {
370
362
set(t.x, t.y, t.z);
371
363
return this;
372
364
373
365
374
- public T3 putP(T3 t) {
375
- t.set((float) x, (float) y, (float) z);
+ public T3d putP(T3d t) {
+ t.set(x, y, z);
376
return t;
377
378
0 commit comments