This tutorial will help you about .
. How to draw a 2D house in openGL? ...............................................................................
. we use line-drawing program to make a line between two specified points and finally we draw a 2d house.This is done with the help of using GL_QUADS and GL_POLYGON bulit-in command.