I really do not understand what is happening here but:
when I do:
colorIndex += len - stopPos;
for(int m = 0; m < len - stopPos; m++)
{
colorUniPos++;
}
it does not give me the same result as doing:
colorIndex += len - stopPos;
colorUniPos += len - stopPos;
I think it becomes off by one or something. Shouldn’t both of these obtain the same result?
Thanks
This won’t produce the same result if len – stopPos < 0