forked from SurajSharma90/OpenGL-C---Tutorials
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
Latest commit
21 lines (17 loc) · 260 Bytes
/
Copy pathmain.cpp
File metadata and controls
21 lines (17 loc) · 260 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include"Game.h"
//ZOOOOOOOOOOOM IN BEFORE RECORDING!
intmain()
{
Game game("YOUTUBE_TUTORIAL",
1920, 1080,
4, 4,
false);
//MAIN LOOP
while (!game.getWindowShouldClose())
{
//UPDATE INPUT ---
game.update();
game.render();
}
return0;
}