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