Mercurial > projects > chipmunkd
comparison trunk/chipmunkd/constraints/cpSimpleMotor.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 |
---|---|
18 } | 18 } |
19 | 19 |
20 //cpSimpleMotor *cpSimpleMotorAlloc(void); | 20 //cpSimpleMotor *cpSimpleMotorAlloc(void); |
21 //cpSimpleMotor *cpSimpleMotorInit(cpSimpleMotor *joint, cpBody *a, cpBody *b, cpFloat rate); | 21 //cpSimpleMotor *cpSimpleMotorInit(cpSimpleMotor *joint, cpBody *a, cpBody *b, cpFloat rate); |
22 //cpConstraint *cpSimpleMotorNew(cpBody *a, cpBody *b, cpFloat rate); | 22 //cpConstraint *cpSimpleMotorNew(cpBody *a, cpBody *b, cpFloat rate); |
23 // | 23 |
24 mixin(CP_DefineConstraintProperty!("cpSimpleMotor", "cpFloat", "rate", "Rate")); | 24 mixin(CP_DefineConstraintProperty!("cpSimpleMotor", "cpFloat", "rate", "Rate")); |
25 | 25 |
26 // cpRotaryLimitJoint.c --------------------------------- | 26 // cpRotaryLimitJoint.c --------------------------------- |
27 | 27 |
28 static void | 28 static void |