coeng

diff src/comp_phys.h @ 3:66d1762eb203

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 05 Feb 2015 23:20:20 +0200
parents 14e743b53289
children
line diff
     1.1 --- a/src/comp_phys.h	Thu Feb 05 11:04:07 2015 +0200
     1.2 +++ b/src/comp_phys.h	Thu Feb 05 23:20:20 2015 +0200
     1.3 @@ -4,17 +4,14 @@
     1.4  #include <vmath/vmath.h>
     1.5  #include "comp.h"
     1.6  
     1.7 -class CompRigid : public CompPRS {
     1.8 +class CompRigid : public Component {
     1.9  public:
    1.10  	float mass, elast, friction;
    1.11  	Vector3 pos, vel;
    1.12  
    1.13 -	CompRigid()
    1.14 -	{
    1.15 -		mass = 1.0;
    1.16 -		elast = 0.5;
    1.17 -		friction = 0.0;
    1.18 -	}
    1.19 +	CompRigid();
    1.20 +
    1.21 +	void update();
    1.22  };
    1.23  
    1.24  #endif	// COMP_PHYS_H_