Closed xzripper closed 4 months ago
That's not how you draw a polygon in C. The function is:
void DrawPoly(Vector2 center, int sides, float radius, float rotation, Color color);
It doesn't take an array.
You probably want DrawLineStrip
instead.
technically it is, thanks!
Drawing polygon in C:
Python:
Exception:
TypeError: float() not supported on cdata 'struct Vector2'
How to add multiple points?