no default

This commit is contained in:
Quaternions 2024-02-14 19:31:57 -08:00
parent f2635be0fb
commit 45dc9e4bd3

View File

@ -146,8 +146,8 @@ pub enum CollisionAttributes{
general:GeneralAttributes, general:GeneralAttributes,
}, },
} }
impl std::default::Default for CollisionAttributes{ impl CollisionAttributes{
fn default()->Self{ pub fn contact_default()->Self{
Self::Contact{ Self::Contact{
contacting:ContactingAttributes::default(), contacting:ContactingAttributes::default(),
general:GeneralAttributes::default() general:GeneralAttributes::default()