Made NBGraphics installable

This commit is contained in:
NaifBanana
2026-08-20 08:14:29 -05:00
parent 3bad580793
commit bb2f046c90
26 changed files with 116 additions and 62 deletions
-1
View File
@@ -8,7 +8,6 @@ if (NB_BUILD_TESTS)
./TestWindow.cpp
)
target_link_libraries(TestWindow
NBCore
NBGraphics
)
+6 -6
View File
@@ -1,12 +1,12 @@
#include "GLLoad.hpp"
#include <NBGraphics/GLLoad.hpp>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include "Image.hpp"
#include "ProgramPipeline.hpp"
#include "VertexArray.hpp"
#include "Window.hpp"
#include "Textures.hpp"
#include <NBGraphics/Image.hpp>
#include <NBGraphics/ProgramPipeline.hpp>
#include <NBGraphics/VertexArray.hpp>
#include <NBGraphics/Window.hpp>
#include <NBGraphics/Textures.hpp>
int main() {
nb::logger.log("Howdy!");
+1 -1
View File
@@ -5,7 +5,7 @@
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include "Image.hpp"
#include <NBGraphics/Image.hpp>
TEST(TestImage, SinglePixel) {
using RGB = nb::Pixel<uint8_t, nb::Red, nb::Green, nb::Blue>;