| 321 | } |
| 322 | |
| 323 | void SimNode_ForWithIteratorBase::closeIterators ( Iterator ** sources, char ** pi, Context & context ) { |
| 324 | for ( int t=int(totalSources)-1; t>=0; --t ) { |
| 325 | sources[t]->close(context, pi[t]); |
| 326 | } |
| 327 | |
| 328 | } |
| 329 | |
| 330 | vec4f SimNode_ForWithIteratorBase::eval ( Context & context ) { |
| 331 | // note: this is the 'slow' version, to which we fall back when there are too many sources |