Re: [Plib-devel] ssg animation
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-07-18 22:08:40
|
> Dave McClurg wrote: > > Steve wrote: > > > ssgSelector would allow more than 32 frames by adding a > > > max_kids param to the constructor > > > > What about the current ability (which I use quite a bit) to > > pass an integer mask with one bit per child object to > > enable you to select multiple child objects at once? > > > i was thinking that ssgSelector would replace the bitset with > an array of bools. select() would be rewritten as: > > void select ( unsigned int s ) > { > for ( int i=0; i<max_kids && i<32; i++ ) > selection [i] = ( (1<<i) & s ) != 0 ; > } > > does that work for you? Do you want me to do this BTW? If you are not already 'on the case', I could get it done in an hour or so - maybe tonight. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |