aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/math/geom/AABBox.java
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-04-25 03:20:14 +0200
committerSven Göthel <[email protected]>2024-04-25 03:20:14 +0200
commit78f6de75d2645a8cc0c6df0f1f2d01d81645f3de (patch)
tree73ebd76a6f39f8cd61f550504307023986d00295 /src/jogl/classes/com/jogamp/math/geom/AABBox.java
parent8bb2f6dec8ab731b07387b947715fa1959c680e4 (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.java2
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;
}