22nd August 2007 20:04 UTC
changing color of last 100 points
Wow, I havn't posted here in like 3 years.
Ok anyway, I have this texer scope thing, and it renders this tentacle thing. Now, I have a counter (ct) that increments by 1 for each point. The tentacle always starts in the center of the window, and the tip of it is the first point (ct = 1). The last point is always the current value of ct, I believe.
Now, what I'm trying (and failing) to do is to turn the last 100 or so points a different color.
red = band(above(ct, 0), below(ct, ct - 100));
However, ct never equals itself - 100. Is there any way anyone can make the last 100 or so points a different color? I've been banging my head over this for like 6 hours...
If you have any questions/solutions, please IM me at OnionRingOfDoom.