]> git.cworth.org Git - akamaru/blobdiff - akamaru.c
Initialize attributes.event_mask correctly.
[akamaru] / akamaru.c
index cc551436cd371449ec3a2f19ef7c9faf5559c1ed..c667c371fade45e09ca49cdd274e177723dc9e1d 100644 (file)
--- a/akamaru.c
+++ b/akamaru.c
@@ -20,7 +20,7 @@
 
 #include "akamaru.h"
 
-const double elasticity = 0.5;
+const double elasticity = 0.7;
 const double friction = 4;
 const double gravity = 50;
 
@@ -435,7 +435,7 @@ model_step (Model *model, double delta_t)
 
   model_accumulate_forces (model);
   model_integrate (model, delta_t);
-  for (i = 0; i < 2; i++)
+  for (i = 0; i < 20; i++)
     model_constrain (model);
 
   model->theta += delta_t;