I'm not bumping, since I already solved it, I'm just answering KliPPy's reply:
That's what I'm doing:
PHP Code:
iLocationNumber[0] = iCurrentAngle
iLocationNumber[1] = iLocationNumber[0] + 15
iLocationNumber[2] = iLocationNumber[1] + 15
iLocationNumber[3] = iLocationNumber[2] + 15
iLocationNumber[4] = iLocationNumber[3] + 15
iLocationNumber[5] = iLocationNumber[4] + 15
iLocationNumber[6] = iLocationNumber[5] + 15
iLocationNumber[7] = iLocationNumber[6] + 15
iLocationNumber[8] = iLocationNumber[7] + 15
iLocationNumber[9] = iLocationNumber[8] + 15
Also, isn't your formula wrong? Like, lets say that
currentAngle is 175, so it'll be:
floatround(175.0 + 7.5) = 182.0
182.0 / 15 = 12.13
12.13 * 15 = 182.0 ??
Did I misunderstand it?
__________________