Made NBGraphics installable

This commit is contained in:
NaifBanana
2026-07-19 22:20:05 -05:00
parent e8a82bca90
commit 76f5d88466
26 changed files with 116 additions and 62 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#include "Buffers.hpp"
#include <NBGraphics/Buffers.hpp>
namespace nb {
+1 -1
View File
@@ -1,4 +1,4 @@
#include "Camera.hpp"
#include <NBGraphics/Camera.hpp>
namespace nb {
+1 -1
View File
@@ -1,4 +1,4 @@
#include "Draw.h"
#include <NBGraphics/Draw.hpp>
namespace NB{
+1 -1
View File
@@ -1,4 +1,4 @@
#include "FrameBuffers.hpp"
#include <NBGraphics/FrameBuffers.hpp>
namespace nb {
+1 -1
View File
@@ -1,4 +1,4 @@
#include "Image.hpp"
#include <NBGraphics/Image.hpp>
using ImageErrorCodes = nb::ImageError::Codes;
const std::string nb::ImageError::type = "nb::ImageError";
+1 -1
View File
@@ -1,4 +1,4 @@
#include "OGLObjects.hpp"
#include <NBGraphics/OGLObjects.hpp>
namespace nb {
+1 -1
View File
@@ -1,4 +1,4 @@
#include "ProgramPipeline.hpp"
#include <NBGraphics/ProgramPipeline.hpp>
namespace nb{
+1 -1
View File
@@ -1,4 +1,4 @@
#include "Textures.hpp"
#include <NBGraphics/Textures.hpp>
namespace nb {
+2 -2
View File
@@ -1,4 +1,4 @@
#include "VertexArray.hpp"
#include <NBGraphics/VertexArray.hpp>
namespace nb {
@@ -177,7 +177,7 @@ VertexDataVec VertexGroup::dropBuffers() {
VertexData VertexGroup::dropBuffer(size_t idx) {
if (idx >= _vertex_data.size()) {
THROW(NBError(NBError::INDEX_ERROR));
THROW(Error(Error<>::INDEX_ERROR));
}
VertexDataVec tmp;
VertexData ret;
+1 -1
View File
@@ -1,4 +1,4 @@
#include "Window.hpp"
#include <NBGraphics/Window.hpp>
namespace nb {