How to track the mouse motion?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all: I am doing a OpenGL project. I want to create a function tracking the mouse motion so that the object in the window can spin or rotate according the mouse motion. I know there is a void glutMotionFunc(void (*func)(int x, int y)); registration function. Does anybody know how to achieve the functionality please? Thanks in advance!!! Asura