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
5using namespace ven;
6
7int 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}
This file contains the Engine class.
void mainLoop()
Definition engine.cpp:67
int main()
Definition main.cpp:7