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