Asura
04-11-2006, 09:09 AM
Hi all:
I want to create a function which tracks the mouse motion to spin the object in the glut window according the mouse movement. I think that glutMotionFunc should be the proper one to achieve the functionality. But I found that it's hard to get the differences the mouse made and it's hard to get the Z-axis movement. Does anybody know some good example of this issue please?
Thanks very much
I want to create a function which tracks the mouse motion to spin the object in the glut window according the mouse movement. I think that glutMotionFunc should be the proper one to achieve the functionality. But I found that it's hard to get the differences the mouse made and it's hard to get the Z-axis movement. Does anybody know some good example of this issue please?
Thanks very much