diff options
author | Sven Gothel <[email protected]> | 2014-03-15 10:21:36 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-03-15 10:21:36 +0100 |
commit | 7e2512c8f63cee63ab2f74407fb94859fe20043a (patch) | |
tree | 9589bc7aabc5f69c9215d056edf1f929852e81c2 /src/jogl/classes/com/jogamp/graph/geom | |
parent | 0b61e9a2641e38475a330303e49f6becf99158e1 (diff) |
Quaternion: User EPSILON for all tests against zero and one (identity .. ) and document the same. ; Minor edits ..
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/geom')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/geom/Outline.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<Outline> { 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; |