vengine
0.1.0
3D graphics engine made with Vulkan
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1
#include <iostream>
2
3
#include "
VEngine/Engine.hpp
"
4
5
using namespace
ven
;
6
7
int
main
()
8
{
9
try
{
10
Engine
engine{};
11
engine.
mainLoop
();
12
}
catch
(
const
std::exception &e) {
13
std::cerr <<
"std exception: "
<< e.what() <<
'\n'
;
14
return
VEN_FAILURE;
15
}
catch
(...) {
16
std::cerr <<
"Unknown error\n"
;
17
return
VEN_FAILURE;
18
}
19
return
VEN_SUCCESS;
20
}
Engine.hpp
This file contains the Engine class.
ven::Engine
Definition
Engine.hpp:20
ven::Engine::mainLoop
void mainLoop()
Definition
engine.cpp:67
main
int main()
Definition
main.cpp:7
ven
src
main.cpp
Generated by
1.11.0