Mercurial > projects > chipmunkd
diff trunk/chipmunkd/cpBody.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 | d88862c82f06 |
line wrap: on
line diff
--- a/trunk/chipmunkd/cpBody.d Fri Dec 03 01:01:39 2010 +0100 +++ b/trunk/chipmunkd/cpBody.d Fri Dec 03 21:38:01 2010 +0100 @@ -112,7 +112,7 @@ return (_body.space is null); } - +//TODO //#define CP_DefineBodyGetter(type, member, name) \ //static inline type cpBodyGet##name(const cpBody *body){return body.member;} // @@ -363,5 +363,5 @@ if(cpBodyIsSleeping(_body)) return; assert(!cpBodyIsStatic(_body) && !cpBodyIsRogue(_body), "Rogue and static bodies cannot be put to sleep."); - cpSpaceSleepBody(_body.space, _body); //TODO + cpSpaceSleepBody(_body.space, _body); }