lol
This commit is contained in:
@@ -44,9 +44,9 @@ int main (int argc, char** argv) {
|
||||
while (SDL_PollEvent(&e)) {
|
||||
if (e.type == SDL_QUIT)
|
||||
display.isClosed = true;
|
||||
if (e.key.keysym.sym == SDLK_t) {
|
||||
SDL_SetRelativeMouseMode(SDL_GetRelativeMouseMode() == SDL_TRUE ? SDL_FALSE : SDL_TRUE);
|
||||
}
|
||||
//if (e.key.keysym.sym == SDLK_t) {
|
||||
// SDL_SetRelativeMouseMode(SDL_GetRelativeMouseMode() == SDL_TRUE ? SDL_FALSE : SDL_TRUE);
|
||||
//}
|
||||
camera.handleMouse(e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user