¡@

Home 

c++ Programming Glossary: mypixmap

Using OpenGL glutDisplayFunc within class

http://stackoverflow.com/questions/3589422/using-opengl-glutdisplayfunc-within-class

glutDisplayFunc within class I've created a C class myPixmap to encapsulate the work performed by the OpenGL GLUT toolkit... contains most of the code required to set up GLUT. void myPixmap display open an OpenGL window if it hasn't already been opened.. command line arguments to appease glut char argv myPixmap int argc 1 glutInit &argc argv glutInitDisplayMode GLUT_SINGLE..