diff 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
line wrap: on
line diff
--- a/trunk/chipmunkd/constraints/cpPinJoint.d	Thu Dec 02 22:26:04 2010 +0100
+++ b/trunk/chipmunkd/constraints/cpPinJoint.d	Thu Dec 02 23:46:18 2010 +0100
@@ -27,10 +27,10 @@
 //cpPinJoint *cpPinJointAlloc(void);
 //cpPinJoint *cpPinJointInit(cpPinJoint *joint, cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2);
 //cpConstraint *cpPinJointNew(cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2);
-//
-//CP_DefineConstraintProperty(cpPinJoint, cpVect, anchr1, Anchr1);
-//CP_DefineConstraintProperty(cpPinJoint, cpVect, anchr2, Anchr2);
-//CP_DefineConstraintProperty(cpPinJoint, cpFloat, dist, Dist);
+
+mixin(CP_DefineConstraintProperty!("cpPinJoint", "cpVect", "anchr1", "Anchr1"));
+mixin(CP_DefineConstraintProperty!("cpPinJoint", "cpVect", "anchr2", "Anchr2"));
+mixin(CP_DefineConstraintProperty!("cpPinJoint", "cpFloat", "dist", "Dist"));
 
 // cpPinJoint.c -------------------------