From 7e2512c8f63cee63ab2f74407fb94859fe20043a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 15 Mar 2014 10:21:36 +0100 Subject: Quaternion: User EPSILON for all tests against zero and one (identity .. ) and document the same. ; Minor edits .. --- src/jogl/classes/com/jogamp/graph/geom/Outline.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/com/jogamp/graph/geom') diff --git a/src/jogl/classes/com/jogamp/graph/geom/Outline.java b/src/jogl/classes/com/jogamp/graph/geom/Outline.java index 5f6dd028f..9d4d1f26d 100644 --- a/src/jogl/classes/com/jogamp/graph/geom/Outline.java +++ b/src/jogl/classes/com/jogamp/graph/geom/Outline.java @@ -222,7 +222,7 @@ public class Outline implements Cloneable, Comparable { public final int compareTo(final Outline other) { final float thisSize = getBounds().getSize(); final float otherSize = other.getBounds().getSize(); - if( FloatUtil.equals(thisSize, otherSize, FloatUtil.EPSILON) ) { + if( FloatUtil.isEqual(thisSize, otherSize, FloatUtil.EPSILON) ) { return 0; } else if(thisSize < otherSize){ return -1; -- cgit v1.2.3