add defaults for the several structs
This commit is contained in:
committed by
Sébastien Crozet
parent
1608a1323e
commit
536122e080
@@ -33,6 +33,12 @@ impl ColliderPair {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for ColliderPair{
|
||||
fn default() -> Self {
|
||||
ColliderPair::zero()
|
||||
}
|
||||
}
|
||||
|
||||
/// An event emitted by the broad-phase.
|
||||
pub enum BroadPhasePairEvent {
|
||||
/// A potential new collision pair has been detected by the broad-phase.
|
||||
|
||||
Reference in New Issue
Block a user