Hi everybody ...
I'm trying to dragg a rectangle in a condition that tha mouse pointer is inside that rectangle ..
I drew the rectangle using
the coordinates of the rectangle are (0,-65,20,-70);
The problem that when I click INSIDE the rectangle and get back the value of x & y using the glutMouse function , I found that the values of x & y CAN'T be inside the rectangle ( something like 209, 361 ) eventhough I was pressing inside that rectangle !!!!!
Any body can inlighten Me .. !
Thanks in Advance