From a17e7369bfe9cb4a23225084a396ec92823bad2b Mon Sep 17 00:00:00 2001 From: kkard2 Date: Mon, 22 Sep 2025 17:21:30 +0200 Subject: reorganize examples --- examples/cube.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/cube.c') diff --git a/examples/cube.c b/examples/cube.c index 240c387..c346d16 100644 --- a/examples/cube.c +++ b/examples/cube.c @@ -5,9 +5,9 @@ #define SPONGE_EXAMPLE_INIT_DEFINED #define SPONGE_EXAMPLE_MOUSE_MOVE_DEFINED #define SPONGE_EXAMPLE_DRAW_FRAME_3D_DEFINED -#include "../example.h" +#include "example.h" -#include "../stb_image.h" +#include "vendor/stb_image.h" #define FOV (60.0f / PI * 2.0f) #define DISTANCE (10.0f) @@ -17,7 +17,7 @@ static int32_t mouse_x; static int32_t mouse_y; void init() { - unsigned char *data = stbi_load("examples/kothd.png", &texture.width, &texture.height, NULL, 4); + unsigned char *data = stbi_load("examples/assets/kothd.png", &texture.width, &texture.height, NULL, 4); if (!data) { printf("%s\n", stbi_failure_reason()); assert(0); -- cgit v1.3.1