LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: uwap on June 20, 2013, 16:49:14

Title: [FIXED] Vector.equals is always false
Post by: uwap on June 20, 2013, 16:49:14
I noticed that the Vectors in org.lwjgl.util.vectors "never equal".

assertEqual(new Vector3f(), new Vector3f());

The test will fail. The Vector2f and Vector3f classes seem to not override the equals function.
I'm not sure whether to count this as a bug or a feature request, even though I think this got to be fixed/implemented.
Title: Re: [BUG] Vector.equals is always false
Post by: kappa on July 09, 2013, 16:19:50
Added equals method to Vector2f, Vector3f and Vector4f.

Thanks.