class Z80::Utils::SinCos::SinCosTable
Z80::Utils::SinCos
table struct.
The angle [0,256) being used in this table translates to radians in the following way:
PI * angle / 128
The full table consist of 256 SinCos
entries which occupy 1024 bytes.
offset fn(angle) 0x000: sin(0) 0x100: sin(1) 0x200: sin(2) 0x300: sin(3) 0x002: cos(0) 0x102: cos(1) 0x202: cos(2) 0x302: cos(3) 0x004: sin(4) 0x104: sin(5) 0x204: sin(6) 0x304: sin(7) 0x008: cos(4) 0x108: cos(5) 0x208: cos(6) 0x308: cos(7) ... 0x0fc: sin(252) 0x1fc: sin(253) 0x2fc: sin(254) 0x3fc: sin(255) 0x0fe: cos(252) 0x1fe: cos(253) 0x2fe: cos(254) 0x3fe: cos(255)