Open noorus opened 6 years ago
If you didn't want to support alpha in colors, you could add a 'filled' parameter
Agreed, you could just hardcode the polygon to draw at like 50% opacity solid instead of wireframe if a bool flag were set with the command.
Also, if direct (convex) polygon support is too much to expect, then maybe just a command to draw filled triangles. I can manage the tesselation myself, or maybe the API library could eventually do it, without requiring heavy lifting in the game itself.
Just a solid triangle draw command to get started, please? :octocat:
Hey guys, do you suppose the debug API could at some point feature functionality for drawing filled polygons? It'd be immensely helpful in debugging map regions ingame, for example.
At this point I suppose the Color structure would need to include an alpha value as well, since it'd be essential to be able to see through the polygon.