GLFW-related update & -lstdc++fs

This commit is contained in:
MihailRis
2023-11-09 00:14:33 +03:00
parent bfc7c85856
commit 086f04af39
5 changed files with 71 additions and 6 deletions
+10
View File
@@ -2,11 +2,17 @@
#define WINDOW_WINDOW_H_
#include "../typedefs.h"
#include <stack>
#include <vector>
#include <glm/glm.hpp>
class GLFWwindow;
class Window {
static GLFWwindow* window;
static std::stack<glm::vec4> scissorStack;
static glm::vec4 scissorArea;
public:
static uint width;
static uint height;
@@ -19,6 +25,10 @@ public:
static void setShouldClose(bool flag);
static void swapBuffers();
static void swapInterval(int interval);
static void pushScissor(glm::vec4 area);
static void popScissor();
static void resetScissor();
};
#endif /* WINDOW_WINDOW_H_ */