summaryrefslogtreecommitdiffstats
path: root/src/javax/vecmath/Tuple3f.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/javax/vecmath/Tuple3f.java')
-rw-r--r--src/javax/vecmath/Tuple3f.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/javax/vecmath/Tuple3f.java b/src/javax/vecmath/Tuple3f.java
index 4e96f4b..d32a109 100644
--- a/src/javax/vecmath/Tuple3f.java
+++ b/src/javax/vecmath/Tuple3f.java
@@ -386,9 +386,9 @@ public abstract class Tuple3f implements java.io.Serializable, Cloneable {
*/
public int hashCode() {
long bits = 1L;
- bits = 31L * bits + (long)Float.floatToIntBits(x);
- bits = 31L * bits + (long)Float.floatToIntBits(y);
- bits = 31L * bits + (long)Float.floatToIntBits(z);
+ bits = 31L * bits + (long)VecMathUtil.floatToIntBits(x);
+ bits = 31L * bits + (long)VecMathUtil.floatToIntBits(y);
+ bits = 31L * bits + (long)VecMathUtil.floatToIntBits(z);
return (int) (bits ^ (bits >> 32));
}