Add stb dependency
This commit is contained in:
parent
3d9dd14fd0
commit
be86af632f
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -10,3 +10,6 @@
|
||||
[submodule "dependencies/freetype"]
|
||||
path = dependencies/freetype
|
||||
url = https://github.com/freetype/freetype.git
|
||||
[submodule "dependencies/stb"]
|
||||
path = dependencies/stb
|
||||
url = https://github.com/nothings/stb.git
|
||||
|
@ -67,6 +67,7 @@ add_dependencies(kekengine kekengine_res)
|
||||
target_include_directories(kekengine PUBLIC "src/kekengine/include")
|
||||
target_include_directories(kekengine PUBLIC "dependencies/bullet3/src")
|
||||
target_include_directories(kekengine PUBLIC "dependencies/freetype/include")
|
||||
target_include_directories(kekengine PUBLIC "dependencies/stb")
|
||||
|
||||
target_link_libraries(kekengine PUBLIC microtar_static)
|
||||
target_link_libraries(kekengine PUBLIC Bullet3Collision BulletDynamics BulletCollision LinearMath Bullet3Collision Bullet3Common Bullet3Dynamics Bullet3Geometry BulletInverseDynamics)
|
||||
|
@ -1,7 +1,10 @@
|
||||
# Dependencies
|
||||
- OpenGL, GLEW, GLFW
|
||||
- stb_image, stb_image_write
|
||||
- microtar (included)
|
||||
- microtar
|
||||
- openvr (SteamVR), if compiling with KEKENGINE_VR
|
||||
- bullet 3
|
||||
- freetype
|
||||
|
||||
## Linux
|
||||
- GTK 3
|
||||
|
1
dependencies/stb
vendored
Submodule
1
dependencies/stb
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 5736b15f7ea0ffb08dd38af21067c314d6a3aae9
|
@ -77,6 +77,7 @@ static void defaultMouseCallback(GLFWwindow *window, double x, double y, void *d
|
||||
|
||||
kekData.activeCamera->rotateYaw(xoff);
|
||||
kekData.activeCamera->rotatePitch(yoff);
|
||||
break;
|
||||
}
|
||||
case GLFWCursorMode::FREE:
|
||||
case GLFWCursorMode::HIDDEN:
|
||||
@ -85,6 +86,7 @@ static void defaultMouseCallback(GLFWwindow *window, double x, double y, void *d
|
||||
UIPoint childPos = element->getPosition();
|
||||
if(element->hoverAll(UIPoint((int) x - childPos.x, (int) y - childPos.y), UIPoint((int) x, (int) y))) break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,8 +10,8 @@
|
||||
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#include <stb/stb_image.h>
|
||||
#include <stb/stb_image_write.h>
|
||||
#include <stb_image.h>
|
||||
#include <stb_image_write.h>
|
||||
|
||||
#include "errordialog.h"
|
||||
#include "objparser.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "fonts.h"
|
||||
|
||||
#include <stb/stb_image_write.h>
|
||||
#include <stb_image_write.h>
|
||||
#include <GL/glew.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <iostream>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "texture.h"
|
||||
|
||||
#include <stb/stb_image.h>
|
||||
#include <stb/stb_image_write.h>
|
||||
#include <stb_image.h>
|
||||
#include <stb_image_write.h>
|
||||
|
||||
#include "resource.h"
|
||||
#include "internal.h"
|
||||
|
Loading…
Reference in New Issue
Block a user