Skip to content

Commit

Permalink
DebugMeshKey: add an assert
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 25, 2024
1 parent 84b42b6 commit 9ca2285
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class DebugMeshKey {
*/
DebugMeshKey(CollisionShape shape, MeshNormals normals, int resolution) {
assert normals != null;
assert shape != null;
assert !(shape instanceof CompoundCollisionShape);

this.normals = normals;
Expand Down

0 comments on commit 9ca2285

Please sign in to comment.