Made NBGraphics installable
This commit is contained in:
@@ -8,7 +8,6 @@ if (NB_BUILD_TESTS)
|
||||
./TestWindow.cpp
|
||||
)
|
||||
target_link_libraries(TestWindow
|
||||
NBCore
|
||||
NBGraphics
|
||||
)
|
||||
|
||||
|
||||
@@ -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!");
|
||||
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user