Code:void MouseFunc( int button , int state , int x , int y) { if (button == GLUT_LEFT_BUTTON) { if (state == GLUT_DOWN) { // } if (state == GLUT_UP) { // } } } // then after glutInit() glutMouseFunc(MouseFunc);
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 16 to 17 of 17
Thread: Freeglut problems.
|
Click Here to Expand Forum to Full Width |