Made NBGraphics installable
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "Buffers.hpp"
|
||||
#include <NBGraphics/Buffers.hpp>
|
||||
|
||||
namespace nb {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "Camera.hpp"
|
||||
#include <NBGraphics/Camera.hpp>
|
||||
|
||||
namespace nb {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "Draw.h"
|
||||
#include <NBGraphics/Draw.hpp>
|
||||
|
||||
namespace NB{
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "FrameBuffers.hpp"
|
||||
#include <NBGraphics/FrameBuffers.hpp>
|
||||
|
||||
namespace nb {
|
||||
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
#include "OGLObjects.hpp"
|
||||
#include <NBGraphics/OGLObjects.hpp>
|
||||
|
||||
namespace nb {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "ProgramPipeline.hpp"
|
||||
#include <NBGraphics/ProgramPipeline.hpp>
|
||||
|
||||
namespace nb{
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "Textures.hpp"
|
||||
#include <NBGraphics/Textures.hpp>
|
||||
|
||||
namespace nb {
|
||||
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
#include "Window.hpp"
|
||||
#include <NBGraphics/Window.hpp>
|
||||
|
||||
namespace nb {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user