Login  Register

Re: Exception: Comparison method violates its general contract

Posted by runiter on Sep 07, 2017; 1:39pm
URL: https://forum.jogamp.org/Exception-Comparison-method-violates-its-general-contract-tp4038173p4038175.html

Great thanks, I shall wait for the new build.

I don't think you need to take into account epsilon in this particular case. I think a simple == might be more proper in a compare method. It's probably okay [and in fact desirable] that in most situations the two distances are not exactly equal.
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D