Introduction - If you have any usage issues, please Google them yourself
In the first tutorial I taught you how to create an OpenGL Window. In this tutorial I will teach you how to create both Triangles and Quads. We will create a triangle using GL_TRIANGLES, and a square using GL_QUADS. Using the code from the first tutorial , we will be adding to the DrawGLScene () procedure. I will rewrite the entire procedure below. If you plan to modify the last lesson, you can replace the DrawGLScene () procedure with the code below, or just add the lines of code below that do not exist in the last tutorial.
Packet : 7941932test2.rar filelist
test2\test2.cpp
test2\test2.dsp
test2\test2.dsw
test2\test2.ncb
test2\test2.opt
test2\test2.plg
test2\Debug
test2