Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Apr 28, 2024
1 parent 6ec6632 commit 0f036dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion crates/parry2d/tests/geometry/epa2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,15 @@ fn cuboids_large_size_ratio_issue_181() {
let pos_ab = pos_a.inv_mul(&pos_b);
let mut manifold: ContactManifold<(), ()> = ContactManifold::new();
dispatcher
.contact_manifold_convex_convex(&pos_ab, &cuboid_a, &cuboid_b, 0.0, &mut manifold)
.contact_manifold_convex_convex(
&pos_ab,
&cuboid_a,
&cuboid_b,
None,
None,
0.0,
&mut manifold,
)
.unwrap();

if let Some(deepest) = manifold.find_deepest_contact() {
Expand Down
1 change: 1 addition & 0 deletions src/shape/triangle_pseudo_normals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ impl NormalConstraints for TrianglePseudoNormals {
}

#[cfg(test)]
#[cfg(feature = "dim3")]
mod test {
use crate::math::{Real, Vector};
use crate::shape::TrianglePseudoNormals;
Expand Down

0 comments on commit 0f036dc

Please sign in to comment.