module Z80Lib3D::Primitives

Z80Lib3D::Primitives

3D primitives for Z80 program data.

Constants

SinCos

A Z80::Utils::SinCos table entry struct.

Consists of two words:

  • sin

  • cos

where each of them is a signed 16bit word (LSB 1st) fixed point number with the integral part in its high 8 bits and the fractional part in its low 8 bits. Each of them contain a corresponding trigonometric function value: [-1.0, 1.0].