From db6a8c526d939a125485c89cfb6e540422fe6b4b Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sat, 19 Mar 2022 16:10:49 +0100 Subject: Fix warnings and add comments. --- src/geometry/contact_pair.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/geometry') diff --git a/src/geometry/contact_pair.rs b/src/geometry/contact_pair.rs index be12132..5826c7a 100644 --- a/src/geometry/contact_pair.rs +++ b/src/geometry/contact_pair.rs @@ -74,6 +74,7 @@ impl ContactPair { } } + /// Clears all the contacts of this contact pair. pub fn clear(&mut self) { self.manifolds.clear(); self.has_any_active_contact = false; -- cgit