diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-05-19 20:08:23 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-05-19 20:08:23 +0100 |
commit | 3308d13ad04fac43e7a111b299ff9444aea4ab9f (patch) | |
tree | 54a91113f75e506318101acf3151d3b11d309e96 /test/rigid_body_test.cpp | |
parent | e15b2c6dd405d008d9e892608c209fd980bcd8ff (diff) | |
download | YAGE-3308d13ad04fac43e7a111b299ff9444aea4ab9f.tar.gz YAGE-3308d13ad04fac43e7a111b299ff9444aea4ab9f.zip |
Adding math to yage
Diffstat (limited to 'test/rigid_body_test.cpp')
-rw-r--r-- | test/rigid_body_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rigid_body_test.cpp b/test/rigid_body_test.cpp index 39488599..b898a1b4 100644 --- a/test/rigid_body_test.cpp +++ b/test/rigid_body_test.cpp @@ -1,10 +1,10 @@ -#include "Physics/rigidbody.hpp" +#include "Physics/particlebody.hpp" #include <iostream> int main(int, char**) { - yage::RigidBody body(glm::vec2(0.f, 0.f), 1, glm::vec2(0.f, 9.81f)); + yage::ParticleBody body; for(int i=0; i<60*3; ++i) { body.update(); |