add defaults for the several structs
This commit is contained in:
committed by
Sébastien Crozet
parent
1608a1323e
commit
536122e080
@@ -6,7 +6,11 @@ use crate::math::{Isometry, Point, Real};
|
||||
pub struct FixedJoint {
|
||||
data: JointData,
|
||||
}
|
||||
|
||||
impl Default for FixedJoint{
|
||||
fn default() -> Self {
|
||||
FixedJoint::new()
|
||||
}
|
||||
}
|
||||
impl FixedJoint {
|
||||
pub fn new() -> Self {
|
||||
#[cfg(feature = "dim2")]
|
||||
|
||||
Reference in New Issue
Block a user