diff options
Diffstat (limited to 'src/javax/vecmath/Tuple2f.java')
-rw-r--r-- | src/javax/vecmath/Tuple2f.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/javax/vecmath/Tuple2f.java b/src/javax/vecmath/Tuple2f.java index b482d80..ee4b801 100644 --- a/src/javax/vecmath/Tuple2f.java +++ b/src/javax/vecmath/Tuple2f.java @@ -278,8 +278,8 @@ public abstract class Tuple2f 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)VecMathUtil.floatToIntBits(x); + bits = 31L * bits + (long)VecMathUtil.floatToIntBits(y); return (int) (bits ^ (bits >> 32)); } |