summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-03-05 03:27:47 +0100
committerSven Gothel <[email protected]>2014-03-05 03:27:47 +0100
commit200fe22baae4047e6d22152c760662c85be54fba (patch)
treedb68e97610a7f39ea555bdb852d85eff2b549c40 /src/nativewindow/native
parent79156e080ef919857f1624543e37b62794fb5a64 (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/nativewindow/native')
0 files changed, 0 insertions, 0 deletions