diff options
author | Sven Gothel <[email protected]> | 2014-03-05 03:27:47 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-03-05 03:27:47 +0100 |
commit | 200fe22baae4047e6d22152c760662c85be54fba (patch) | |
tree | db68e97610a7f39ea555bdb852d85eff2b549c40 /src/jogl/classes/javax/media/opengl/DebugGLES2.java | |
parent | 79156e080ef919857f1624543e37b62794fb5a64 (diff) |
Bug 801: Fix 183e1bc1868699b99eb9f9c8bf18d646d1120a48 'window box' Calculation
Commit 183e1bc1868699b99eb9f9c8bf18d646d1120a48 only mapped object's bbox max/min points
to window space, which is wrong due to possible rotation in 3d space.
This commit adds AABBox.mapToWindow(..) method,
which correctly either uses 4 points of the bbox in 3d space (using center-z)
or all 8-points and creating a new bounding box.
The resulting width and height of this window bbox gives the
maximum amount of rectangular pixels for AA.
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/DebugGLES2.java')
0 files changed, 0 insertions, 0 deletions