summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/AxisAngle4d.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/javax/vecmath/AxisAngle4d.java')
-rw-r--r--src/javax/vecmath/AxisAngle4d.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/javax/vecmath/AxisAngle4d.java b/src/javax/vecmath/AxisAngle4d.java
index d856081..ca16742 100644
--- a/src/javax/vecmath/AxisAngle4d.java
+++ b/src/javax/vecmath/AxisAngle4d.java
@@ -508,10 +508,10 @@ public class AxisAngle4d 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(angle);
+ bits = 31L * bits + VecMathUtil.doubleToLongBits(x);
+ bits = 31L * bits + VecMathUtil.doubleToLongBits(y);
+ bits = 31L * bits + VecMathUtil.doubleToLongBits(z);
+ bits = 31L * bits + VecMathUtil.doubleToLongBits(angle);
return (int) (bits ^ (bits >> 32));
}