coeng
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef COMP_PHYS_H_ |
nuclear@0 | 2 #define COMP_PHYS_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include <vmath/vmath.h> |
nuclear@0 | 5 #include "comp.h" |
nuclear@0 | 6 |
nuclear@5 | 7 class CoRigid : public Component { |
nuclear@0 | 8 public: |
nuclear@0 | 9 float mass, elast, friction; |
nuclear@0 | 10 Vector3 pos, vel; |
nuclear@0 | 11 |
nuclear@5 | 12 CoRigid(); |
nuclear@3 | 13 |
nuclear@3 | 14 void update(); |
nuclear@0 | 15 }; |
nuclear@0 | 16 |
nuclear@0 | 17 #endif // COMP_PHYS_H_ |