Hello,
I started an OpenGL/SFML engine,
http://img259.imageshack.us/my.php?image=enginenl0.jpgand I actualy working on camera class.
I would like to keep the mouse inside the window to allow
camera to make a full spin when the mouse stay near a border
I try to do that by moving the mouse position
but when the mouse moving very fast it still going out of the window
and when it working normally the mouse shaking so it s not so nice
If someone can give me some suggestion about an other way to process
or what is wrong in my way, I will really appreciate
Thanks,
SK
edit : solved
I made a fake mouse cursor when I want it
and the real one stay in the middle of the window
after each move I calculate relative position and replace it in middle