public class Tuple3f {
public float x;
public float y;
public float z;
public Tuple3f() {
this.x = 1;
this.y = 0;
this.z = 0;
}
public boolean equals(Object t1) {
try {
Tuple3f t2 = (Tuple3f) t1;
return (this.x == t2.x && this.y == t2.y && this.z == t2.z);
} catch (NullPointerException e2) {
return false;
} catch (ClassCastException e1) {
return false;
}
}
public int hashCode() {
long bits = 1L;
bits = 31L * bits + (long) ((x == 0) ? 0l : Float.floatToIntBits(x));
bits = 31L * bits + (long) ((y == 0) ? 0l : Float.floatToIntBits(y));
bits = 31L * bits + (long) ((z == 0) ? 0l : Float.floatToIntBits(z));
return (int) (bits ^ (bits >> 32));
}
}