Mercurial > projects > chipmunkd
comparison 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 |
comparison
equal
deleted
inserted
replaced
6:707dd4e10c28 | 7:b68f10432182 |
---|---|
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 //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 |
29 preStep(cpSimpleMotor *joint, cpFloat dt, cpFloat dt_inv) | 29 preStep(cpSimpleMotor *joint, cpFloat dt, cpFloat dt_inv) |