Looks interesting, I did not know about that groupMask :) I'm just afraid, will it not conflict with Vincent's predefined masks? ______________________________
Anton Gladkyy 2010/5/13 Václav Šmilauer <[email protected]> > > I was thinking about how to better implement it, and did not find a > > better solution. > > A bitmask? Then you would have > > FOREACH(.. b,...){ > // skip bodies with non-matching groupMask if mask is non-zero > // otherwise use all bodies > if(mask!=0 && (b->groupMask & mask)==0) continue; > /* do stuff here */ > } > > Just a suggestion. > > v > > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

