blShapeAPI — A simple c++ shape API to construct and render static and live shapes in opengl

Introduction When first playing with opengl, everyone starts off with what is known as “direct-mode”, using the infamous glBegin() and glEnd() functions. They are very easy to use and produce much more readableĀ code, at least to the beginners’ eyes. To draw a rectangle in direct mode, one would do theā€¦

Continue reading