We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87a40d8 commit 7fcf3c0Copy full SHA for 7fcf3c0
src/main/java/eu/mihosoft/vrl/v3d/Vector3d.java
@@ -430,10 +430,12 @@ public String toString() {
430
*/
431
@Override
432
public boolean equals(Object obj) {
433
+ if(this==obj)
434
+ return true;
435
if (!Vector3d.class.isInstance(obj)) {
436
return false;
437
}
- return test((Vector3d)obj,Plane.EPSILON_Point);
438
+ return test((Vector3d)obj,Plane.getEPSILON());
439
440
441
double distance(Vector3d v) {
@@ -442,6 +444,8 @@ public boolean equals(Object obj) {
442
444
443
445
446
public boolean test(Vector3d obj, double epsilon) {
447
448
449
if (obj == null) {
450
451
0 commit comments