From a4b4047e48e435253efea0c188b808995a477d8c Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 22 Jun 2017 17:56:01 +0100 Subject: Fixing file names --- test/rigidbodytest.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/rigidbodytest.cpp (limited to 'test/rigidbodytest.cpp') diff --git a/test/rigidbodytest.cpp b/test/rigidbodytest.cpp new file mode 100644 index 00000000..c5683697 --- /dev/null +++ b/test/rigidbodytest.cpp @@ -0,0 +1,19 @@ +#include "Physics/particlebody.hpp" + +#include + +int main(int, char**) +{ + yage::ParticleBody body; + for(int i=0; i<60*3; ++i) + { + body.update(); + std::cout<<"position: "<ideal_position*1.05) + return 0; + return 1; +} -- cgit