Revert struct lol
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "NBCore/Errors.hpp"
|
||||
#include "NBCore/Types.hpp"
|
||||
#include <NBCore/Errors.hpp>
|
||||
#include <NBCore/Types.hpp>
|
||||
|
||||
namespace nb {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
include_directories(./include)
|
||||
include_directories(./.)
|
||||
|
||||
find_package(OpenGL)
|
||||
add_subdirectory(${GLFW_PATH} ${GLFW_PATH}/build)
|
||||
@@ -15,13 +15,13 @@ toAbsolutePath(NB_GRAPHICS_SOURCE
|
||||
)
|
||||
|
||||
toAbsolutePath(NB_GRAPHICS_INCLUDE
|
||||
./include/Buffers.hpp
|
||||
./include/Camera.hpp
|
||||
./include/Draw.hpp
|
||||
./include/GLLoad.hpp
|
||||
./include/shader.hpp
|
||||
./include/VAOManager.hpp
|
||||
./include/Window.hpp
|
||||
./Buffers.hpp
|
||||
./Camera.hpp
|
||||
./Draw.hpp
|
||||
./GLLoad.hpp
|
||||
./shader.hpp
|
||||
./VAOManager.hpp
|
||||
./Window.hpp
|
||||
)
|
||||
|
||||
set(NB_GRAPHICS_SOURCE ${NB_GRAPHICS_SOURCE} PARENT_SCOPE)
|
||||
|
||||
@@ -6,12 +6,11 @@
|
||||
|
||||
#include <atomic>
|
||||
#include <array>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
namespace NB {
|
||||
namespace nb {
|
||||
|
||||
class GLError : public std::runtime_error {
|
||||
public:
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "Window.hpp"
|
||||
namespace NB {
|
||||
|
||||
namespace nb {
|
||||
|
||||
std::map<GLFWwindow*, Window*> Window::WindowContexts = {};
|
||||
std::map<int, int> Window::GLFWHints = {};
|
||||
|
||||
Reference in New Issue
Block a user