Menu

#23 AABox/AABox sweep intersection is broken?

open
nobody
GMTL (16)
5
2011-02-20
2011-02-20
No

I think the AABox/AABox sweep intersection test is broken (Intersection.h, line ~90).

For example it is clear to see that the test will always report an intersection if the relative displacement of the boxes is (0,0,0). The implementation on Gamasutra referenced in the comment has the same problem btw!

Discussion

  • Christian Henz

    Christian Henz - 2011-04-23

    Trigger false positive in unit test

     
  • Christian Henz

    Christian Henz - 2011-04-23

    Proposed fix

     
  • Christian Henz

    Christian Henz - 2011-04-25

    Second version with corrected overlap test

     
  • Christian Henz

    Christian Henz - 2011-04-25

    I posted a second version of the patch that fixes an incorrect interval overlap test I introduced in the first patch.

     

Log in to post a comment.