aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/Physics/rigidbody.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/YAGE/Physics/rigidbody.hpp')
-rw-r--r--include/YAGE/Physics/rigidbody.hpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/include/YAGE/Physics/rigidbody.hpp b/include/YAGE/Physics/rigidbody.hpp
index c8a2e497..fd19dc7c 100644
--- a/include/YAGE/Physics/rigidbody.hpp
+++ b/include/YAGE/Physics/rigidbody.hpp
@@ -13,18 +13,14 @@
#include "particlebody.hpp"
-namespace yage
-{
+namespace yage {
-class RigidBody : public ParticleBody
-{
+class RigidBody : public ParticleBody {
public:
- RigidBody(const Vector2d &position=Vector2d(0, 0),
- double mass=1,
- const Vector2d &velocity=Vector2d(0, 0),
- bool gravity=true);
+ RigidBody(const Vector2d& position = Vector2d(0, 0), double mass = 1,
+ const Vector2d& velocity = Vector2d(0, 0), bool gravity = true);
};
-} // yage
+} // yage
#endif