I have a problem programming the mouse navigation the way I want in my GLUT application.
I would like to hold the left mouse button pressed and rotate the 3D scene.
I am using the glutMouseFunc()-callback und the glutPassiveMotionFunc()-callback. But I can not rotate the scene during I am holding the mouse button pressed.
I think the problem is that, when any mouse button is hold pressed, the glutPassiveMotionFunc() can not do it’s job.
Do you have any ideas, how to solve this problem?