103
102
if (get_elapsed_time(mRainbowTime) > 5)
105
int pos, colIndex, colVal, delay, numOfColors;
106
104
// For slower systems, advance can be greater than one (advance > 1
107
105
// skips advance-1 steps). Should make gradient look the same
108
106
// independent of the framerate.