Using OpenGL glutDisplayFunc within class

后端 未结 4 760
清歌不尽
清歌不尽 2020-12-04 16:13

I\'ve created a C++ class (myPixmap) to encapsulate the work performed by the OpenGL GLUT toolkit. The display() member function of the class cont

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 16:23

    Please check this tutorial, I think this is what you are looking for: http://paulsolt.com/2010/08/glut-object-oriented-framework-on-github/

提交回复
热议问题