summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2016-10-17 15:01:53 -0200
committerBruno Dilly <bdilly@profusion.mobi>2016-10-17 15:01:53 -0200
commit1ddaab2f6a83c1bb6e33e76e38c086d8607093ed (patch)
tree3f37b3f8a5bf714beb3f3c947d19866af2fe22b4
parent21ea05d20f0574e06e4a4b870234a8888f995ed1 (diff)
Update code regarding cpSpace fields
Now chipmunk only have a single field related to iterations, no more elasticIteractions.
-rw-r--r--src/bin/physic_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/physic_object.c b/src/bin/physic_object.c
index 2b00f71..15a6532 100644
--- a/src/bin/physic_object.c
+++ b/src/bin/physic_object.c
@@ -40,7 +40,7 @@ void physic_init(void)
40 40
41 space = cpSpaceNew(); 41 space = cpSpaceNew();
42 space->gravity = cpv(0, -1000); 42 space->gravity = cpv(0, -1000);
43 space->elasticIterations = 10; 43 space->iterations = 10;
44} 44}
45 45
46/** 46/**