All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
eafd18dac0
commit
25c3ba7338
@@ -37,17 +37,21 @@ ConstraintGear::ConstraintGear()
|
||||
ADD_PROPERTY(Diameter, (100.0));
|
||||
ADD_PROPERTY(Force, (1000.0));
|
||||
ADD_PROPERTY(ForceAngle, (0.0));
|
||||
ADD_PROPERTY_TYPE(Direction,
|
||||
(nullptr),
|
||||
"ConstraintGear",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"Element giving direction of gear force");
|
||||
ADD_PROPERTY_TYPE(
|
||||
Direction,
|
||||
(nullptr),
|
||||
"ConstraintGear",
|
||||
(App::PropertyType)(App::Prop_None),
|
||||
"Element giving direction of gear force"
|
||||
);
|
||||
ADD_PROPERTY(Reversed, (0));
|
||||
ADD_PROPERTY_TYPE(DirectionVector,
|
||||
(Base::Vector3d(1, 1, 1).Normalize()),
|
||||
"ConstraintGear",
|
||||
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
|
||||
"Direction of gear force");
|
||||
ADD_PROPERTY_TYPE(
|
||||
DirectionVector,
|
||||
(Base::Vector3d(1, 1, 1).Normalize()),
|
||||
"ConstraintGear",
|
||||
App::PropertyType(App::Prop_ReadOnly | App::Prop_Output),
|
||||
"Direction of gear force"
|
||||
);
|
||||
naturalDirectionVector = Base::Vector3d(1, 1, 1).Normalize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user