aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/Physics/rigidbody.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-05-17 10:36:59 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-05-17 10:36:59 +0100
commit7583ad924479b11bbd45122194b53a7b6c8f7a0e (patch)
treef454120b7bd2f5cc344eb221f975321842980a13 /include/YAGE/Physics/rigidbody.hpp
parentf7fc06b5066018451b6b456be0dbc46bafe2fd88 (diff)
downloadYAGE-7583ad924479b11bbd45122194b53a7b6c8f7a0e.tar.gz
YAGE-7583ad924479b11bbd45122194b53a7b6c8f7a0e.zip
Adding files
Diffstat (limited to 'include/YAGE/Physics/rigidbody.hpp')
-rw-r--r--include/YAGE/Physics/rigidbody.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/YAGE/Physics/rigidbody.hpp b/include/YAGE/Physics/rigidbody.hpp
index 56f089ed..bf729828 100644
--- a/include/YAGE/Physics/rigidbody.hpp
+++ b/include/YAGE/Physics/rigidbody.hpp
@@ -1,7 +1,7 @@
#ifndef YAGE_RIGID_BODY_HPP
#define YAGE_RIGID_BODY_HPP
-#include "Physics/body.hpp"
+#include "body.hpp"
namespace yage
{
@@ -17,6 +17,7 @@ public:
// apply a force to the rigid body
virtual void applyForce(const glm::vec2 &force);
+ virtual void update();
};
} // yage