Instead of explicitly calling glDraw*(), wrap this logic into a class. This class should support different types of primitives. http://www.arcsynthesis.org/gltut/Positioning/Tut07%20Primitive%20Drawing.html
Instead of explicitly calling glDraw*(), wrap this logic into a class. This class should support different types of primitives.
http://www.arcsynthesis.org/gltut/Positioning/Tut07%20Primitive%20Drawing.html