I have this:
GA_PrimitiveGroup *deleteUs = gdp->newPrimitiveGroup(“deleteUs”);
GA_Offset lcl_start, lcl_end, crr;
for (GA_Iterator lcl_it((gdp)->getPrimitiveRange());lcl_it.blockAdvance(lcl_start, lcl_end); )
for (crr = lcl_start; crr < lcl_end; ++crr){
deleteUs->addIndex(crr);
}
sorta stolen from “GA_FOR_ALL_PTOFF”
is this the fastest? or is there a way to simply say newPrimGroup(“foo”,ADD_ALL);
or sumthin'?