summaryrefslogtreecommitdiffstats
path: root/drivers/unix/file_access_unix_pipe.cpp
diff options
context:
space:
mode:
authorRobbie Cooper <cooperra@users.noreply.github.com>2024-01-10 20:44:06 -0500
committerRobert Yevdokimov <robert.yevdokimov@autStand.com>2024-02-02 07:59:47 -0500
commit30914c0434da2ad11780221c242cd2d6354326a6 (patch)
tree40a7f804860858204e783a26d435edeaff973eec /drivers/unix/file_access_unix_pipe.cpp
parent10e111477db68fe65776a1d68fb1ffccaf6520fc (diff)
downloadredot-engine-30914c0434da2ad11780221c242cd2d6354326a6.tar.gz
Fix bounding boxes
Each time an AABB is rotated, it gets bigger. That means opposite rotations don't cancel out. The previous implementation repeatedly rotates children AABBs as it climbs up the tree. This often resulted in selection boxes looking bigger than their contents. This implementation calculates and applies a single final transformation to each AABB before it is merged with the others. After merging, there are no additional rotations, so AABBs remain accurate. Co-Authored-By: Robert Yevdokimov <105675984+ryevdokimov@users.noreply.github.com>
Diffstat (limited to 'drivers/unix/file_access_unix_pipe.cpp')
0 files changed, 0 insertions, 0 deletions