coeng

annotate src/comp_phys.h @ 4:49a2e70ac455

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 10 Feb 2015 17:21:30 +0200
parents 14e743b53289
children
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@3 7 class CompRigid : public Component {
nuclear@0 8 public:
nuclear@0 9 float mass, elast, friction;
nuclear@0 10 Vector3 pos, vel;
nuclear@0 11
nuclear@3 12 CompRigid();
nuclear@3 13
nuclear@3 14 void update();
nuclear@0 15 };
nuclear@0 16
nuclear@0 17 #endif // COMP_PHYS_H_