Login  Register

Re: A new binary build available soon

Posted by gouessej on Feb 05, 2021; 8:49am
URL: https://forum.jogamp.org/A-new-binary-build-available-soon-tp4038575p4041007.html

Hello

Yesterday, I found an inconsistency in the implementations of Vector2.equals(), Vector3.equals() and Vector4.equals(), they consider -0.0 = 0.0 whereas Vector2.hashCode(), Vector3.hashCode() and Vector4.hashCode() don't. I now consider -0.0 != 0.0 in Vector2.equals(), Vector3.equals() and Vector4.equals() exactly like java.lang.Double. If it's a problem for you, you'll have to use another comparator.

Reference: https://jogamp.org/cgit/ardor3d.git/commit/?id=46335e7a94404af90d62669e77380d9d23ef324e

I'll update the binary build very soon.
Julien Gouesse | Personal blog | Website