voxelcore/src/window/Window.h
2021-04-25 16:08:48 +03:00

20 lines
498 B
C++

#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_ */