-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct ill-formed test - to be compatible with libccd 2.0 and 2.1 (#371
) * Correct ill-formed test The NearestPointFromDegenerateSimplex test was born of a specific case, captured in the wild by a user. The test attempted to recreate the circumstances of that failure. In its original formulation, the test had two flaws: 1. It relied on code paths for evaluating box-box distance via GJK. If a box-box distance primitive were introduced, the test would become meaningless. 2. One of the box's poses is defined by an *unnormalized* quaternion. This issue was exposed when libccd updated its quaternion multiplication algorithm -- the final result was unduly impacted by the degree the quat wasn't normalized. This commit addressed *both* of those issues.
- Loading branch information
1 parent
8e929da
commit e8fb8dd
Showing
1 changed file
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters