diff options
Diffstat (limited to 'yage/physics/rigidbody.cpp')
-rw-r--r-- | yage/physics/rigidbody.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/yage/physics/rigidbody.cpp b/yage/physics/rigidbody.cpp new file mode 100644 index 00000000..efbef8d9 --- /dev/null +++ b/yage/physics/rigidbody.cpp @@ -0,0 +1,20 @@ +/* ---------------------------------------------------------------------------- + * rigidbody.cpp + * + * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License + * See file LICENSE for more details + * ---------------------------------------------------------------------------- + */ + +#include <yage/physics/rigidbody.h> + +namespace yage +{ + +RigidBody::RigidBody(const Vector2d &position, double mass, + const Vector2d &velocity, bool gravity) + : ParticleBody(position, mass, velocity, gravity) +{ +} + +} // namespace yage |