MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / closeIterators

Method closeIterators

src/simulate/simulate.cpp:323–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

vec4fMethod · 0.80
vec4fMethod · 0.80

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected