Mercurial > projects > chipmunkd
diff trunk/chipmunkd/constraints/cpSimpleMotor.d @ 7:b68f10432182
some properties and some comments
author | Extrawurst |
---|---|
date | Thu, 02 Dec 2010 23:46:18 +0100 |
parents | 707dd4e10c28 |
children | c03a41d47b60 |
line wrap: on
line diff
--- a/trunk/chipmunkd/constraints/cpSimpleMotor.d Thu Dec 02 22:26:04 2010 +0100 +++ b/trunk/chipmunkd/constraints/cpSimpleMotor.d Thu Dec 02 23:46:18 2010 +0100 @@ -21,7 +21,7 @@ //cpSimpleMotor *cpSimpleMotorInit(cpSimpleMotor *joint, cpBody *a, cpBody *b, cpFloat rate); //cpConstraint *cpSimpleMotorNew(cpBody *a, cpBody *b, cpFloat rate); // -//CP_DefineConstraintProperty(cpSimpleMotor, cpFloat, rate, Rate); +mixin(CP_DefineConstraintProperty!("cpSimpleMotor", "cpFloat", "rate", "Rate")); // cpRotaryLimitJoint.c ---------------------------------