Add files via upload

This commit is contained in:
MihailRis 2021-04-25 16:08:48 +03:00 • committed by GitHub
commit e1cdcf01e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 2866 additions and 0 deletions

20
src/window/Window.h Normal file
View file

@ -0,0 +1,20 @@
#ifndef WINDOW_WINDOW_H_
#define WINDOW_WINDOW_H_
class GLFWwindow;
class Window {
public:
static int width;
static int height;
static GLFWwindow* window; // не лучшее решение делать window публичным
static int initialize(int width, int height, const char* title);
static void terminate();
static void setCursorMode(int mode);
static bool isShouldClose();
static void setShouldClose(bool flag);
static void swapBuffers();
};
#endif /* WINDOW_WINDOW_H_ */