blob: d28af83e7471b04edaca51d90b91aa819975342f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <yage/yage.h>
#include <iostream>
using std::cout;
int main(int argc, char** argv)
{
cout << "Starting Shooter example...\n";
yage::Window window;
window.create("Shooter example", 1920, 1080);
while(!window.shouldClose()) {
window.pollEvents();
window.clearBuffer();
window.swapBuffer();
}
}
|