More Debug derives. (#686)

This commit is contained in:
Thierry Berger
2024-07-19 16:13:25 +02:00
committed by GitHub
parent 801870be00
commit 0ff55411a4
8 changed files with 10 additions and 8 deletions

View File

@@ -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>,

View File

@@ -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>,
}