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,
},
}
impl std::default::Default for CollisionAttributes{
fn default()->Self{
impl CollisionAttributes{
pub fn contact_default()->Self{
Self::Contact{
contacting:ContactingAttributes::default(),
general:GeneralAttributes::default()