Compare commits

...

2 Commits

Author SHA1 Message Date
2c4f5fd641 feat: windows specific import + remove couts 2025-10-04 12:30:42 +02:00
3972553d36 feat: explicit import of std::remove_if 2025-10-04 12:30:20 +02:00
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
#define EVENT_H_
#include <functional>
#include <algorithm>
#include <unordered_map>
#include <vector>
#include <typeindex>

View File

@ -1,6 +1,8 @@
#include "renderer/engine.h"
#ifdef WIN32
#include <corecrt_math_defines.h>
#endif
#include <GL/glew.h>
#include <glm/ext/matrix_clip_space.hpp>
#include <glm/ext/matrix_transform.hpp>
@ -20,12 +22,10 @@ Engine::Engine() {
);
m_window->subscribe<WindowResized>([this](const WindowResized& e) {
std::cout << "ENGINE: Window just resized" << std::endl;
HandleWindowResized(e);
});
m_window->subscribe<WindowCloseRequested>([this](const WindowCloseRequested& e) {
std::cout << "ENGINE: Window closed" << std::endl;
Stop();
});
}