Fix NaN when computing contacts between a cuboid and a perfectly vertical triangle.

This commit is contained in:
Crozet Sébastien
2020-09-28 11:01:15 +02:00
parent 90dffc59ed
commit f3f2b57f88
3 changed files with 65 additions and 57 deletions

View File

@@ -14,6 +14,7 @@ mod add_remove3;
mod compound3;
mod debug_boxes3;
mod debug_triangle3;
mod debug_trimesh3;
mod domino3;
mod heightfield3;
mod joints3;
@@ -74,6 +75,7 @@ pub fn main() {
("Keva tower", keva3::init_world),
("(Debug) boxes", debug_boxes3::init_world),
("(Debug) triangle", debug_triangle3::init_world),
("(Debug) trimesh", debug_trimesh3::init_world),
];
// Lexicographic sort, with stress tests moved at the end of the list.