Mercurial > projects > chipmunkd
diff trunk/chipmunkd/cpArbiter.d @ 13:c03a41d47b60
- finished all constraints properties
- implemented cpAssertWarn the mixin way
author | Extrawurst |
---|---|
date | Fri, 03 Dec 2010 21:38:01 +0100 |
parents | 7ebbd4d05553 |
children | df4ebc8add66 |
line wrap: on
line diff
--- a/trunk/chipmunkd/cpArbiter.d Fri Dec 03 01:01:39 2010 +0100 +++ b/trunk/chipmunkd/cpArbiter.d Fri Dec 03 21:38:01 2010 +0100 @@ -107,7 +107,7 @@ (*a) = arb.private_a, (*b) = arb.private_b; } } -//#define CP_ARBITER_GET_SHAPES(arb, a, b) cpShape *a, *b; cpArbiterGetShapes(arb, &a, &b); + template CP_ARBITER_GET_SHAPES(string arb,string a,string b) { enum CP_ARBITER_GET_SHAPES = "cpShape* "~a~", "~b~";"~