comparison trunk/chipmunkd/constraints/cpPinJoint.d @ 7:b68f10432182

some properties and some comments
author Extrawurst
date Thu, 02 Dec 2010 23:46:18 +0100
parents 7ebbd4d05553
children df4ebc8add66
comparison
equal deleted inserted replaced
6:707dd4e10c28 7:b68f10432182
25 } 25 }
26 26
27 //cpPinJoint *cpPinJointAlloc(void); 27 //cpPinJoint *cpPinJointAlloc(void);
28 //cpPinJoint *cpPinJointInit(cpPinJoint *joint, cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2); 28 //cpPinJoint *cpPinJointInit(cpPinJoint *joint, cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2);
29 //cpConstraint *cpPinJointNew(cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2); 29 //cpConstraint *cpPinJointNew(cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2);
30 // 30
31 //CP_DefineConstraintProperty(cpPinJoint, cpVect, anchr1, Anchr1); 31 mixin(CP_DefineConstraintProperty!("cpPinJoint", "cpVect", "anchr1", "Anchr1"));
32 //CP_DefineConstraintProperty(cpPinJoint, cpVect, anchr2, Anchr2); 32 mixin(CP_DefineConstraintProperty!("cpPinJoint", "cpVect", "anchr2", "Anchr2"));
33 //CP_DefineConstraintProperty(cpPinJoint, cpFloat, dist, Dist); 33 mixin(CP_DefineConstraintProperty!("cpPinJoint", "cpFloat", "dist", "Dist"));
34 34
35 // cpPinJoint.c ------------------------- 35 // cpPinJoint.c -------------------------
36 36
37 static void 37 static void
38 preStep(cpPinJoint *joint, cpFloat dt, cpFloat dt_inv) 38 preStep(cpPinJoint *joint, cpFloat dt, cpFloat dt_inv)