aboutsummaryrefslogtreecommitdiffstats
path: root/test/rigid_body_test.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-05-19 20:08:23 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-05-19 20:08:23 +0100
commit3308d13ad04fac43e7a111b299ff9444aea4ab9f (patch)
tree54a91113f75e506318101acf3151d3b11d309e96 /test/rigid_body_test.cpp
parente15b2c6dd405d008d9e892608c209fd980bcd8ff (diff)
downloadYAGE-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.cpp4
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();