diff 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
line wrap: on
line diff
--- a/trunk/chipmunkd/constraints/cpGrooveJoint.d	Fri Dec 03 01:01:39 2010 +0100
+++ b/trunk/chipmunkd/constraints/cpGrooveJoint.d	Fri Dec 03 21:38:01 2010 +0100
@@ -26,13 +26,12 @@
 //cpGrooveJoint *cpGrooveJointAlloc(void);
 //cpGrooveJoint *cpGrooveJointInit(cpGrooveJoint *joint, cpBody *a, cpBody *b, cpVect groove_a, cpVect groove_b, cpVect anchr2);
 //cpConstraint *cpGrooveJointNew(cpBody *a, cpBody *b, cpVect groove_a, cpVect groove_b, cpVect anchr2);
-//
-//TODO
-//CP_DefineConstraintGetter(cpGrooveJoint, cpVect, grv_a, GrooveA);
+
+mixin(CP_DefineConstraintGetter!("cpGrooveJoint", "cpVect", "grv_a", "GrooveA"));
 //void cpGrooveJointSetGrooveA(cpConstraint *constraint, cpVect value);
-//CP_DefineConstraintGetter(cpGrooveJoint, cpVect, grv_b, GrooveB);
+mixin(CP_DefineConstraintGetter!("cpGrooveJoint", "cpVect", "grv_b", "GrooveB"));
 //void cpGrooveJointSetGrooveB(cpConstraint *constraint, cpVect value);
-//CP_DefineConstraintProperty(cpGrooveJoint, cpVect, anchr2, Anchr2);
+mixin(CP_DefineConstraintProperty!("cpGrooveJoint", "cpVect", "anchr2", "Anchr2"));
 
 // cpGrooveJoint.c ---------------------------------