coeng

view src/comp_phys.h @ 2:4a1c9597f4d3

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 05 Feb 2015 11:04:07 +0200
parents
children 66d1762eb203
line source
1 #ifndef COMP_PHYS_H_
2 #define COMP_PHYS_H_
4 #include <vmath/vmath.h>
5 #include "comp.h"
7 class CompRigid : public CompPRS {
8 public:
9 float mass, elast, friction;
10 Vector3 pos, vel;
12 CompRigid()
13 {
14 mass = 1.0;
15 elast = 0.5;
16 friction = 0.0;
17 }
18 };
20 #endif // COMP_PHYS_H_