24 lines
454 B
C++
24 lines
454 B
C++
#define GLFW_INCLUDE_VULKAN
|
|
#include <GLFW/glfw3.h>
|
|
|
|
#define GLM_FORCE_RADIANS
|
|
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
|
|
#include <glm/vec4.hpp>
|
|
#include <glm/mat4x4.hpp>
|
|
|
|
#include <iostream>
|
|
#include "Engine.h"
|
|
|
|
int main() {
|
|
Engine* engine = new Engine();
|
|
try {
|
|
engine->Start();
|
|
}
|
|
catch (const std::exception& e) {
|
|
std::cerr << e.what() << std::endl;
|
|
return EXIT_FAILURE;
|
|
}
|
|
|
|
return EXIT_SUCCESS;
|
|
return 0;
|
|
} |