aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry')
-rw-r--r--src/geometry/collider_set.rs2
-rw-r--r--src/geometry/interaction_graph.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/geometry/collider_set.rs b/src/geometry/collider_set.rs
index cb0511e..3934472 100644
--- a/src/geometry/collider_set.rs
+++ b/src/geometry/collider_set.rs
@@ -5,7 +5,7 @@ use crate::math::Isometry;
use std::ops::{Index, IndexMut};
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
-#[derive(Clone, Default)]
+#[derive(Clone, Default, Debug)]
/// A set of colliders that can be handled by a physics `World`.
pub struct ColliderSet {
pub(crate) colliders: Arena<Collider>,
diff --git a/src/geometry/interaction_graph.rs b/src/geometry/interaction_graph.rs
index a237a69..4d037d1 100644
--- a/src/geometry/interaction_graph.rs
+++ b/src/geometry/interaction_graph.rs
@@ -9,7 +9,7 @@ pub type TemporaryInteractionIndex = EdgeIndex;
/// A graph where nodes are collision objects and edges are contact or proximity algorithms.
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
-#[derive(Clone)]
+#[derive(Clone, Debug)]
pub struct InteractionGraph<N, E> {
pub(crate) graph: Graph<N, E>,
}