aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
authorThierry Berger <contact@thierryberger.com>2024-07-19 16:13:25 +0200
committerGitHub <noreply@github.com>2024-07-19 16:13:25 +0200
commit0ff55411a457c70d218f1690692431c874d9a9d6 (patch)
tree8f579d23d2e8d689b13f55ff80a33ee7b25faced /src/geometry
parent801870be00a45b242aae43fe0f1f9839e3dba5cb (diff)
downloadrapier-0ff55411a457c70d218f1690692431c874d9a9d6.tar.gz
rapier-0ff55411a457c70d218f1690692431c874d9a9d6.tar.bz2
rapier-0ff55411a457c70d218f1690692431c874d9a9d6.zip
More Debug derives. (#686)
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>,
}