Basically the title. I only need to draw in 2D. I know about GuiScreen and how to make a Gui with a Container, all that stuff. I just wanted to take a step forward and make a sort of Gui Framework offering a set of components and a layout manager. So one of my questions is, can I draw triangles??? Like this:
glBegin(GL_TRIANGLE_STRIP);
//vertices here
glEnd();
I ask because the game is all made of quads, apparently, and I needed triangles for my GUI, so maybe there's some limitation to the OpenGL environment?
Can I have a very simple example? I also don't know how to transform the coordinate system correctly before drawing the GUI, if the example could include that, it would be really appreciated.
(edit summary: typo)