super(0, 360*100, 100, 12); lookupValues = new float [360 * 100]; sumValues = new float [360 * 100];
loopProcess(); sumValues[0] = lookupValues[0]; for (int i = 1; i < (360*100); i++) { sumValues[i] = lookupValues[i] + lookupValues[i-1]; } return lookupValues;
float sinValue = 0.0f; for (int i = start; i < end; i++) { sinValue = (float)Math.sin((i % 360)*Math.PI/180.0); lookupValues[i] = sinValue * (float)i / 180.0f; }