coeng

view src/co_phys.h @ 5:0e5da17d589c

decided to really work on this, so first a slight rename
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Feb 2015 01:35:42 +0200
parents src/comp_phys.h@66d1762eb203
children 2f872a179914
line source
1 #ifndef COMP_PHYS_H_
2 #define COMP_PHYS_H_
4 #include <vmath/vmath.h>
5 #include "comp.h"
7 class CoRigid : public Component {
8 public:
9 float mass, elast, friction;
10 Vector3 pos, vel;
12 CoRigid();
14 void update();
15 };
17 #endif // COMP_PHYS_H_