From 175c72557b21f356e295a6f8a4acd91b7e744bef Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Fri, 24 Oct 2025 15:40:40 -0700 Subject: Consolidate LLR into a single file. --- src/scene/node.c | 2 +- src/scene/node_impl.h | 3 +++ src/scene/object.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/scene') diff --git a/src/scene/node.c b/src/scene/node.c index 9d45aa7..b7cf467 100644 --- a/src/scene/node.c +++ b/src/scene/node.c @@ -2,7 +2,7 @@ #include "animation_impl.h" #include "camera_impl.h" -#include "llr/light_impl.h" +#include "llr/llr_impl.h" #include "memory.h" #include "model_impl.h" #include "object_impl.h" diff --git a/src/scene/node_impl.h b/src/scene/node_impl.h index c79f252..d43ae1e 100644 --- a/src/scene/node_impl.h +++ b/src/scene/node_impl.h @@ -13,6 +13,9 @@ /// together form a strict tree hierarchy and not a more general DAG. typedef struct SceneNode { NodeType type; + // TODO: Inline the actual object here and get rid of the indirection and the + // extra pools? The "scene camera" is kind of a useless data structure, for + // example. union { anima_idx anima; camera_idx camera; diff --git a/src/scene/object.c b/src/scene/object.c index e985fd5..3b2d498 100644 --- a/src/scene/object.c +++ b/src/scene/object.c @@ -2,7 +2,7 @@ #include -#include "llr/mesh_impl.h" +#include "llr/llr_impl.h" #include "memory.h" #include "node_impl.h" -- cgit v1.2.3