mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-08 01:33:22 +08:00
Update Breakout code for 'Setting up' chapter.
This commit is contained in:
@@ -34,7 +34,7 @@ TextRenderer *Text;
|
||||
|
||||
|
||||
Game::Game(unsigned int width, unsigned int height)
|
||||
: State(GAME_MENU), Keys(), Width(width), Height(height), Level(0), Lives(3)
|
||||
: State(GAME_MENU), Keys(), KeysProcessed(), Width(width), Height(height), Level(0), Lives(3)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -548,4 +548,4 @@ Direction VectorDirection(glm::vec2 target)
|
||||
}
|
||||
}
|
||||
return (Direction)best_match;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user