comparison trunk/chipmunkd/constraints/cpGrooveJoint.d @ 13:c03a41d47b60

- finished all constraints properties - implemented cpAssertWarn the mixin way
author Extrawurst
date Fri, 03 Dec 2010 21:38:01 +0100
parents b68f10432182
children 4541ca17975b
comparison
equal deleted inserted replaced
12:8697699b2c5a 13:c03a41d47b60
24 } 24 }
25 25
26 //cpGrooveJoint *cpGrooveJointAlloc(void); 26 //cpGrooveJoint *cpGrooveJointAlloc(void);
27 //cpGrooveJoint *cpGrooveJointInit(cpGrooveJoint *joint, cpBody *a, cpBody *b, cpVect groove_a, cpVect groove_b, cpVect anchr2); 27 //cpGrooveJoint *cpGrooveJointInit(cpGrooveJoint *joint, cpBody *a, cpBody *b, cpVect groove_a, cpVect groove_b, cpVect anchr2);
28 //cpConstraint *cpGrooveJointNew(cpBody *a, cpBody *b, cpVect groove_a, cpVect groove_b, cpVect anchr2); 28 //cpConstraint *cpGrooveJointNew(cpBody *a, cpBody *b, cpVect groove_a, cpVect groove_b, cpVect anchr2);
29 // 29
30 //TODO 30 mixin(CP_DefineConstraintGetter!("cpGrooveJoint", "cpVect", "grv_a", "GrooveA"));
31 //CP_DefineConstraintGetter(cpGrooveJoint, cpVect, grv_a, GrooveA);
32 //void cpGrooveJointSetGrooveA(cpConstraint *constraint, cpVect value); 31 //void cpGrooveJointSetGrooveA(cpConstraint *constraint, cpVect value);
33 //CP_DefineConstraintGetter(cpGrooveJoint, cpVect, grv_b, GrooveB); 32 mixin(CP_DefineConstraintGetter!("cpGrooveJoint", "cpVect", "grv_b", "GrooveB"));
34 //void cpGrooveJointSetGrooveB(cpConstraint *constraint, cpVect value); 33 //void cpGrooveJointSetGrooveB(cpConstraint *constraint, cpVect value);
35 //CP_DefineConstraintProperty(cpGrooveJoint, cpVect, anchr2, Anchr2); 34 mixin(CP_DefineConstraintProperty!("cpGrooveJoint", "cpVect", "anchr2", "Anchr2"));
36 35
37 // cpGrooveJoint.c --------------------------------- 36 // cpGrooveJoint.c ---------------------------------
38 37
39 static void 38 static void
40 preStep(cpGrooveJoint *joint, cpFloat dt, cpFloat dt_inv) 39 preStep(cpGrooveJoint *joint, cpFloat dt, cpFloat dt_inv)