feat: windows run

This commit is contained in:
2025-10-11 18:34:03 +02:00
parent bedd6c3ca0
commit ff9e23255c
2 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,7 @@ elseif (MSVC) # vcpkg
find_package(OpenGL REQUIRED) find_package(OpenGL REQUIRED)
find_package(GLEW CONFIG REQUIRED) find_package(GLEW CONFIG REQUIRED)
find_package(glm CONFIG REQUIRED) find_package(glm CONFIG REQUIRED)
find_package(EnTT CONFIG REQUIRED)
endif() endif()
add_executable(CodingGame add_executable(CodingGame

View File

@ -1,7 +1,11 @@
#include <iostream> #include <iostream>
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include <glm/ext/matrix_clip_space.hpp> #include <glm/ext/matrix_clip_space.hpp>
#ifdef WIN32
#include <corecrt_math_defines.h>
#endif
#include <glm/ext/matrix_transform.hpp> #include <glm/ext/matrix_transform.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/euler_angles.hpp> #include <glm/gtx/euler_angles.hpp>
#include "renderer/renderer.h" #include "renderer/renderer.h"