| 137 | } |
| 138 | |
| 139 | vec4f SimNode_GoodArrayIterator::eval ( Context & context ) { |
| 140 | DAS_PROFILE_NODE |
| 141 | vec4f ll = source->eval(context); |
| 142 | Array * arr = cast<Array *>::to(ll); |
| 143 | char * iter = context.allocateIterator(sizeof(GoodArrayIterator),"array<> iterator", &debugInfo); |
| 144 | new (iter) GoodArrayIterator(arr, stride, &debugInfo); |
| 145 | return cast<char *>::from(iter); |
| 146 | } |
| 147 | |
| 148 | // FixedArrayIterator |
| 149 |