enigma-dev/enigma-dev — pull request #616 by sorlok (2014-01-17 18:11:16+00:00)
Title: implemented draw_polygon()

This implements polygon drawing. Unlike GL_POLYGON, this supports:
* concave
* self-intersecting

...polygons in addition to convex. Currently implemented in OpenGL1, with fallbacks to convex polygon drawing in DirectX, GL-ES, and GL3. Other backends will be improved in later commits.

I've had a forum post open asking for comments about this feature for a week, and so far there have been no issues. Thus, I'm leaving the implementation in "Graphics_Systems/", since it seems generally useful to everyone, and mimics a feature found in older versions of GM:
http://enigma-dev.org/forums/index.php?topic=1704.0