I didn’t for two days.
This:
for ( size_t i=0; i<numIdx; i+=3 ) { ind[ i ] = idx[ i ]; }
Versus this:
for ( size_t i=0; i<numIdx; ++i ) { ind[ i ] = idx[ i ]; }
Former was used with triangles when each index had their unique triangle and hence the loop could go 3-step increase. That was until I changed some things…
You must be logged in to post a comment.
Be the first to comment.