diff options
author | Sven Göthel <[email protected]> | 2024-04-25 03:20:14 +0200 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-04-25 03:20:14 +0200 |
commit | 78f6de75d2645a8cc0c6df0f1f2d01d81645f3de (patch) | |
tree | 73ebd76a6f39f8cd61f550504307023986d00295 /src/jogl/classes/com/jogamp/math/geom/AABBox.java | |
parent | 8bb2f6dec8ab731b07387b947715fa1959c680e4 (diff) |
FloatUtil: Add IEC559_SIGN_BIT; Align API doc and implementation w/ native jaulib, i.e. drop 0==epsilon case for performance
Diffstat (limited to 'src/jogl/classes/com/jogamp/math/geom/AABBox.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/math/geom/AABBox.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/math/geom/AABBox.java b/src/jogl/classes/com/jogamp/math/geom/AABBox.java index 9d6153b7a..2456d6f4b 100644 --- a/src/jogl/classes/com/jogamp/math/geom/AABBox.java +++ b/src/jogl/classes/com/jogamp/math/geom/AABBox.java @@ -661,7 +661,7 @@ public class AABBox { if( !assumeIntersection ) { // Check final candidate actually inside box - if( 0 != ( Float.floatToIntBits(maxT[whichPlane]) & 0x80000000 ) ) { + if( 0 != ( Float.floatToIntBits(maxT[whichPlane]) & FloatUtil.IEC559_SIGN_BIT ) ) { return null; } |