Mercurial > projects > chipmunkd
diff trunk/chipmunkd/constraints/cpRotaryLimitJoint.d @ 28:4541ca17975b
use __gshared as chipmunk heavily relies on globals and D would otherwise make them TLS
author | Extrawurst |
---|---|
date | Mon, 13 Dec 2010 21:40:56 +0100 |
parents | c03a41d47b60 |
children |
line wrap: on
line diff
--- a/trunk/chipmunkd/constraints/cpRotaryLimitJoint.d Mon Dec 13 21:24:12 2010 +0100 +++ b/trunk/chipmunkd/constraints/cpRotaryLimitJoint.d Mon Dec 13 21:40:56 2010 +0100 @@ -90,7 +90,7 @@ return cpfabs(joint.jAcc); } -static /+const+/ cpConstraintClass klass = { +__gshared /+const+/ cpConstraintClass klass = { cast(cpConstraintPreStepFunction)&preStep, cast(cpConstraintApplyImpulseFunction)&applyImpulse, cast(cpConstraintGetImpulseFunction)&getImpulse,