20.03.2015, 14:37
I want the GenerateGradient function to work how I thought it should.
That is supposed to go through each argument and return the gradient of all of them.
EDIT: I was just thinking, even if we do get the cells to fill in there will be some (the remainder of the division) left over. So we also need a modulus in there for the last color.
pawn Код:
new Array[263] = GenerateGradient([List of colors to interpolate through here.]);
EDIT: I was just thinking, even if we do get the cells to fill in there will be some (the remainder of the division) left over. So we also need a modulus in there for the last color.