summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-02-17 14:04:46 -0800
committer3gg <3gg@shellblade.net>2024-02-17 14:04:46 -0800
commit6d5e336c5f1b249404d29bc4349b9cf95f058dbf (patch)
tree1f0ef18c857c392e15dc568cfe916fc8f151aad2
parentdc2466b88b4478d8944251d9d97cbe0c774f5ca0 (diff)
Rename scene.h/c -> model.h/c.
-rw-r--r--gfx/CMakeLists.txt2
-rw-r--r--gfx/src/asset/asset_cache.c2
-rw-r--r--gfx/src/asset/model.c (renamed from gfx/src/asset/scene.c)2
-rw-r--r--gfx/src/asset/model.h (renamed from gfx/src/asset/scene.h)0
4 files changed, 3 insertions, 3 deletions
diff --git a/gfx/CMakeLists.txt b/gfx/CMakeLists.txt
index b423990..6c8640c 100644
--- a/gfx/CMakeLists.txt
+++ b/gfx/CMakeLists.txt
@@ -34,7 +34,7 @@ add_shader_library(shaders
34 34
35add_library(gfx SHARED 35add_library(gfx SHARED
36 src/asset/asset_cache.c 36 src/asset/asset_cache.c
37 src/asset/scene.c 37 src/asset/model.c
38 src/asset/texture.c 38 src/asset/texture.c
39 src/render/buffer.c 39 src/render/buffer.c
40 src/render/framebuffer.c 40 src/render/framebuffer.c
diff --git a/gfx/src/asset/asset_cache.c b/gfx/src/asset/asset_cache.c
index e17de9d..0a9b1f2 100644
--- a/gfx/src/asset/asset_cache.c
+++ b/gfx/src/asset/asset_cache.c
@@ -1,6 +1,6 @@
1#include "asset_cache.h" 1#include "asset_cache.h"
2 2
3#include "scene.h" 3#include "model.h"
4#include "scene/animation_impl.h" 4#include "scene/animation_impl.h"
5#include "scene/model_impl.h" 5#include "scene/model_impl.h"
6#include "scene/node_impl.h" 6#include "scene/node_impl.h"
diff --git a/gfx/src/asset/scene.c b/gfx/src/asset/model.c
index 290ade9..e0df078 100644
--- a/gfx/src/asset/scene.c
+++ b/gfx/src/asset/model.c
@@ -79,7 +79,7 @@
79/// In our case, we use the specular-glosiness model if parameters for it are 79/// In our case, we use the specular-glosiness model if parameters for it are
80/// provided, otherwise we use the metallic-roughness model. 80/// provided, otherwise we use the metallic-roughness model.
81 81
82#include "asset/scene.h" 82#include "asset/model.h"
83 83
84#include "asset/texture.h" 84#include "asset/texture.h"
85#include "gfx/gfx.h" 85#include "gfx/gfx.h"
diff --git a/gfx/src/asset/scene.h b/gfx/src/asset/model.h
index d6399b1..d6399b1 100644
--- a/gfx/src/asset/scene.h
+++ b/gfx/src/asset/model.h