aboutsummaryrefslogtreecommitdiffstats
path: root/src/rigidbody.cpp
blob: f19d63ac7973473c2178801f064c2794ec642bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* ----------------------------------------------------------------------------
 * rigidbody.cpp
 *
 * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
 * See file LICENSE for more details
 * ----------------------------------------------------------------------------
 */

#include "Physics/rigidbody.hpp"

namespace yage {

RigidBody::RigidBody(const Vector2d& position, double mass,
                     const Vector2d& velocity, bool gravity)
    : ParticleBody(position, mass, velocity, gravity) {}

}  // yage