Impl Default for a few structs
This commit is contained in:
committed by
Sébastien Crozet
parent
936f655c67
commit
7aa94e994f
@@ -36,6 +36,12 @@ pub struct RigidBody {
|
||||
pub user_data: u128,
|
||||
}
|
||||
|
||||
impl Default for RigidBody {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl RigidBody {
|
||||
fn new() -> Self {
|
||||
Self {
|
||||
|
||||
Reference in New Issue
Block a user