work on window module
This commit is contained in:
7
modules/Window/src/WindowImpl/GLFW/windowGLFW.cpp
Normal file
7
modules/Window/src/WindowImpl/GLFW/windowGLFW.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "windowGLFW.h"
|
||||
|
||||
|
||||
Window::Window() {
|
||||
if(!glfwInit())
|
||||
std::cout << "glfwInit failed!\n";
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#include "Archimedes.h"
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
class Window {
|
||||
|
||||
public:
|
||||
|
||||
Window();
|
||||
~Window();
|
||||
|
||||
|
||||
private:
|
||||
GLFWwindow* w;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user