Hi all,
I'm trying to figure out how to use al_calculate_arc() to
get an array of points that I can manually draw
but I don't understand from the documentation how to use the output.
It's not drawing correctly.
What am I doing wrong?
Thanks.
https://liballeg.org/a5docs/5.2.6/primitives.html#al_calculate_arc
There are two sets of points with thickness > 0. The outer points and the inner points. Draw your triangle between the two.
Ok, I figured it out.
Thanks for the help.
Here is the code so maybe it will help someone else.
I didn't see it the first time, but yes, the outer and inner points are interleaved. That's probably what caused the confusion. Thank you for the example.