Hi to all,
This place below explains how to construct a cube.
But, how to construct a wired cube with with a similar code?
http://www.morrowland.com/apron/tutorials/gl/gl_rotating_cube.php
Hi to all,
This place below explains how to construct a cube.
But, how to construct a wired cube with with a similar code?
http://www.morrowland.com/apron/tutorials/gl/gl_rotating_cube.php
the code can be the same, but before glBegin(GL_QUADS) call glPolygonMode(GL_FRONT_AND_BACK, GL_LINE)
alternatively, use glBegin(GL_LINE_LOOP) instead of GL_QUADS