From 60072c1d8089ffd3294e76636198d14710be95b8 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 9 Sep 2017 07:55:22 +0100 Subject: Restructuring --- yage/physics/rigidbody.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 yage/physics/rigidbody.cpp (limited to 'yage/physics/rigidbody.cpp') diff --git a/yage/physics/rigidbody.cpp b/yage/physics/rigidbody.cpp new file mode 100644 index 00000000..dcab5f2f --- /dev/null +++ b/yage/physics/rigidbody.cpp @@ -0,0 +1,20 @@ +/* ---------------------------------------------------------------------------- + * rigidbody.cpp + * + * Copyright (c) 2017 Yann Herklotz Grave -- MIT License + * See file LICENSE for more details + * ---------------------------------------------------------------------------- + */ + +#include + +namespace yage +{ + +RigidBody::RigidBody(const Vector2d &position, double mass, + const Vector2d &velocity, bool gravity) + : ParticleBody(position, mass, velocity, gravity) +{ +} + +} // namespace yage -- cgit