Hi, I know that there are a lot of webpages devoted in telling me how the OpenGL mouse function works, but I still don't understand.
What I need to know, when my:
void processMouse( int button, int state, int x, int y){
...
}
Returns x,y. What does x,y look like? as in:
Are the values of X Y the pixel location on the screen (where the resolution is 800x600, for example, so XY could be (400,300))
Does X = 0 , and Y = 0 at the bottom left side of the screen?
If the values of X Y relate to the location of the mouse on the screen, how do i get the position of the mouse in the window?
I know you probably read this before, please don't link sites, I wouldn't ask this on this forum if I understood the sites :)
Thanks alot,
Matthew