coeng
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/co_phys.h Sat Feb 14 01:35:42 2015 +0200 1.3 @@ -0,0 +1,17 @@ 1.4 +#ifndef COMP_PHYS_H_ 1.5 +#define COMP_PHYS_H_ 1.6 + 1.7 +#include <vmath/vmath.h> 1.8 +#include "comp.h" 1.9 + 1.10 +class CoRigid : public Component { 1.11 +public: 1.12 + float mass, elast, friction; 1.13 + Vector3 pos, vel; 1.14 + 1.15 + CoRigid(); 1.16 + 1.17 + void update(); 1.18 +}; 1.19 + 1.20 +#endif // COMP_PHYS_H_