02-01-2004, 07:24 AM
hi everyone..
how can i get the coordinate from a screen..while click..and during the motion...
from a mouse..
as in case of GLUT...we have two different function for mouse motion and mouse click..which directly give coordinates..
but how can i do same without using GLUT...as i am following nehe's tutorails..and it will be really tough to switch from a non-console progame to a consol ( will it really be?? )
actually i have cube on screen..which i want to rotate with the help of mouse...how can it be done?? (without using glut)..
if someone help with little code example..i will really be thaknful..
waiting for replies..
-prafs
how can i get the coordinate from a screen..while click..and during the motion...
from a mouse..
as in case of GLUT...we have two different function for mouse motion and mouse click..which directly give coordinates..
but how can i do same without using GLUT...as i am following nehe's tutorails..and it will be really tough to switch from a non-console progame to a consol ( will it really be?? )
actually i have cube on screen..which i want to rotate with the help of mouse...how can it be done?? (without using glut)..
if someone help with little code example..i will really be thaknful..
waiting for replies..
-prafs