summaryrefslogtreecommitdiff
path: root/akamaru.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2006-06-11 15:48:48 -0400
committerKristian Høgsberg <krh@redhat.com>2006-06-11 15:48:48 -0400
commitb70eba22906b666c8038c1d10bc0663489622fe0 (patch)
tree846eb95f563dc1382cb8a11c8fe1e4446fe12e28 /akamaru.c
parent4b4b752bb845106529d270b73419b97e11d595c2 (diff)
Initialize attributes.event_mask correctly.
Diffstat (limited to 'akamaru.c')
-rw-r--r--akamaru.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/akamaru.c b/akamaru.c
index cc55143..c667c37 100644
--- 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;