-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[parsing] Add a very bad mesh test for mujoco parser
This tests the error path in the parser when even falling back to convex hull can't save us.
- Loading branch information
1 parent
6a7293d
commit 2c50572
Showing
2 changed files
with
50 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# An adversarially bad mesh that produces a negative volume in | ||
# CalcSpatialInertia(). The single triangle has an implied normal pointing | ||
# toward the origin. | ||
|
||
v 1 0 0 | ||
v 1 2 0 | ||
v 1 0 3 | ||
f 3 2 1 |