FileDocCategorySizeDatePackage
SinTable3.javaAPI DocExample1794Thu Feb 04 16:10:40 GMT 1999None

SinTable3

public class SinTable3 extends LoopHandler

Fields Summary
private float[]
lookupValues
Constructors Summary
public SinTable3()

		super(0, 360*100, 12);
		lookupValues = new float [360 * 100];
	
Methods Summary
public float[]getValues()

		loopProcess();
		return lookupValues;
	
public voidloopDoRange(int start, int end)

		for (int i = start; i < end; i++) {
			float sinValue = (float)Math.sin((i % 360)*Math.PI/180.0);
			lookupValues[i] = sinValue * (float)i / 180.0f;
		}