View Full Version : opengl can't it be done with c++

12-11-2002, 01:59 AM
i tried to write a program in opengl in the
C++ style.
what happend is that while creating a class i could only include the initialization function as the member of the class but not any other function. if i included drawing or the reshape function as the member then
i have to access them in the following way

which is not allowed.
what to do?

12-11-2002, 02:07 AM
See this (http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/010997.html) recent thread for explanation.