coeng

view src/co_phys.cc @ 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.cc@66d1762eb203
children 2f872a179914
line source
1 #include "co_phys.h"
3 static CoRigid reg_co_rigid;
5 static Component *cons_rigid() { return new CoRigid; }
7 CoRigid::CoRigid()
8 {
9 mass = 1.0;
10 elast = 0.5;
11 friction = 0.0;
13 name = "rigid";
15 register_component(name, cons_rigid);
16 }
18 void CoRigid::update()
19 {
20 }