[SDL] SDL_SetRelativeMouseMode Starting Position
Danielane85 at hotmail.com
Mon Sep 1 11:15:40 PDT 2014
Nothing weird there. So what you want to do is position the mouse pointer in the middle of the window even though you're moving the mouse, like in a FPS game. Correct?
How do you know that the mouse pointer is moved to the upper left corner? The mouse pointer isn't visible when you're using SDL_SetRelativeMouseMode. Is your m_MousePositionX and m_MousePositionY variables telling you this information?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL