mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
Refactor and fixes
This commit is contained in:
parent
b4a3608302
commit
63b5f4bc6b
25 changed files with 394 additions and 278 deletions
|
|
@ -2,6 +2,8 @@
|
|||
#define WINDOW_WINDOW_H_
|
||||
|
||||
#include "../typedefs.h"
|
||||
#include "../settings.h"
|
||||
|
||||
#include <stack>
|
||||
#include <vector>
|
||||
|
||||
|
|
@ -16,7 +18,7 @@ class Window {
|
|||
public:
|
||||
static uint width;
|
||||
static uint height;
|
||||
static int initialize(uint width, uint height, const char* title, int samples);
|
||||
static int initialize(DisplaySettings& settings);
|
||||
static void terminate();
|
||||
|
||||
static void viewport(int x, int y, int width, int height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue