From 0f036dc000b64a4e7082d591d7c93da0a605367e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sun, 28 Apr 2024 17:40:42 +0200 Subject: [PATCH] Fix tests --- crates/parry2d/tests/geometry/epa2.rs | 10 +++++++++- src/shape/triangle_pseudo_normals.rs | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/crates/parry2d/tests/geometry/epa2.rs b/crates/parry2d/tests/geometry/epa2.rs index fe9f9fed..47727488 100644 --- a/crates/parry2d/tests/geometry/epa2.rs +++ b/crates/parry2d/tests/geometry/epa2.rs @@ -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() { diff --git a/src/shape/triangle_pseudo_normals.rs b/src/shape/triangle_pseudo_normals.rs index c4392c7a..927d7333 100644 --- a/src/shape/triangle_pseudo_normals.rs +++ b/src/shape/triangle_pseudo_normals.rs @@ -93,6 +93,7 @@ impl NormalConstraints for TrianglePseudoNormals { } #[cfg(test)] +#[cfg(feature = "dim3")] mod test { use crate::math::{Real, Vector}; use crate::shape::TrianglePseudoNormals;