coeng

view src/comp_phys.cc @ 3:66d1762eb203

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 05 Feb 2015 23:20:20 +0200
parents
children
line source
1 #include "comp_phys.h"
3 static CompRigid reg_co_rigid;
5 static Component *cons_rigid() { return new CompRigid; }
7 CompRigid::CompRigid()
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 CompRigid::update()
19 {
20 }