1
0
Fork 0
Univerxel/src/render/window.hpp

21 lines
445 B
C++

#ifndef WINDOW_HPP
#define WINDOW_HPP
#define RATIO_WIDTH 16
#define RATIO_HEIGHT 9
/// Fixed window ratio
#define RATIO RATIO_WIDTH / (RATIO_HEIGHT * 1.0f)
/// Default floating window width
#define DEFAULT_WIDTH 1280
/// Default floating window height
#define DEFAULT_HEIGHT 720
#include <GL/glew.h>
#include <GLFW/glfw3.h>
/// Initialise glew and glfw, then create window
GLFWwindow *createWindow(int samples);
#endif