diff options
author | Sven Gothel <[email protected]> | 2023-09-04 05:16:33 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-09-04 06:28:05 +0200 |
commit | d5b17eddf7e7f1c33b269a3a2ed8eca959c6d639 (patch) | |
tree | 33bbe008968b174920a453f807a3277b485e5cc3 /src/jogl | |
parent | b161ec3e6527ddfca0de10961de2c984016fe88b (diff) |
GraphUI Enhance: API doc; Scene/Button Z-offset and -epsilon; Push temp AffineTransform to local method; Simplify BaseButton setCorner(0) -> setPerp(); Protected abstract ctor ..
Diffstat (limited to 'src/jogl')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java b/src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java index 34a581681..901ed7181 100644 --- a/src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java +++ b/src/jogl/classes/com/jogamp/opengl/math/FloatUtil.java @@ -1576,6 +1576,11 @@ public final class FloatUtil { * <pre> * return z * z / ( zNear * (1<<zBits) - z ) * </pre> + * Examples: + * <pre> + * 1.5256461E-4 = 16 zBits, -0.2 zDist, 0.1 zNear + * 6.1033297E-6 = 16 zBits, -1.0 zDist, 0.1 zNear + * </pre> * @param zBits number of bits of Z precision, i.e. z-buffer depth * @param z distance from the eye to the object * @param zNear distance from eye to near clip plane |