diff options
Diffstat (limited to 'src/javax/vecmath/Tuple4d.java')
-rw-r--r-- | src/javax/vecmath/Tuple4d.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/javax/vecmath/Tuple4d.java b/src/javax/vecmath/Tuple4d.java index 063e130..2898dad 100644 --- a/src/javax/vecmath/Tuple4d.java +++ b/src/javax/vecmath/Tuple4d.java @@ -432,10 +432,10 @@ public abstract class Tuple4d implements java.io.Serializable, Cloneable { */ public int hashCode() { long bits = 1L; - bits = 31L * bits + Double.doubleToLongBits(x); - bits = 31L * bits + Double.doubleToLongBits(y); - bits = 31L * bits + Double.doubleToLongBits(z); - bits = 31L * bits + Double.doubleToLongBits(w); + bits = 31L * bits + VecMathUtil.doubleToLongBits(x); + bits = 31L * bits + VecMathUtil.doubleToLongBits(y); + bits = 31L * bits + VecMathUtil.doubleToLongBits(z); + bits = 31L * bits + VecMathUtil.doubleToLongBits(w); return (int) (bits ^ (bits >> 32)); } |