CircularAngle

Sine and cosine lookup tables used for all angular math. Angles are encoded as integers in the range [0, 2047] where 2048 units = 2π radians. Each table entry is the trig value multiplied by 65536 and stored as an integer (fixed-point 16.16).


CircularAngle.Setup

procedure TCircularAngle.Setup();

Fills the sine and cosine tables. Called once at startup by cache.simba.