summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/Tuple3d.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/javax/vecmath/Tuple3d.java')
-rw-r--r--src/javax/vecmath/Tuple3d.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/javax/vecmath/Tuple3d.java b/src/javax/vecmath/Tuple3d.java
index 23d31dc..8379a8a 100644
--- a/src/javax/vecmath/Tuple3d.java
+++ b/src/javax/vecmath/Tuple3d.java
@@ -324,9 +324,9 @@ public abstract class Tuple3d 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 + VecMathUtil.doubleToLongBits(x);
+ bits = 31L * bits + VecMathUtil.doubleToLongBits(y);
+ bits = 31L * bits + VecMathUtil.doubleToLongBits(z);
return (int) (bits ^ (bits >> 32));
}