This is an example of how to use the tan function.
#define DELTA PI / 8
const float data[] =
{
-3 * DELTA,
-2 * DELTA,
-DELTA,
0.0,
DELTA,
2 * DELTA,
3 * DELTA,
4 * DELTA - 0.01
};
task main()
{
for (int i = 0; i < items; ++i)
{
int screen_y = 56 - 8 * i;
float angle = data[i];
}
while (true);
}