aboutsummaryrefslogtreecommitdiffstats
path: root/yage/physics/rigidbody.cpp
blob: 4eaf705f0cde043ff068da4c659d6d79b8af1c0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/** ---------------------------------------------------------------------------
 * -*- c++ -*-
 * @file: rigidbody.cpp
 *
 * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
 * MIT License, see LICENSE file 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