Impl Default for a few structs

This commit is contained in:
Jamen Marz
2021-09-21 11:25:54 -06:00
committed by Sébastien Crozet
parent 936f655c67
commit 7aa94e994f
15 changed files with 60 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ use crate::geometry::{ColliderChanges, ColliderHandle};
use std::ops::{Index, IndexMut};
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
#[derive(Clone)]
#[derive(Clone, Default)]
/// A set of colliders that can be handled by a physics `World`.
pub struct ColliderSet {
pub(crate) colliders: Arena<Collider>,