summaryrefslogtreecommitdiff
path: root/scene.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-02-09 18:50:58 +1100
committerquou <quou@disroot.org>2025-02-09 18:51:30 +1100
commit629dc808c595d65cda74a86975ebd780113f3431 (patch)
tree72d0c17600c6420fc2b834529d781dc43cc20317 /scene.hpp
parent1c86bb51da99df1950124d812eabcfe15af4f771 (diff)
Properly send lights from the CPU
Diffstat (limited to 'scene.hpp')
-rw-r--r--scene.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene.hpp b/scene.hpp
index 31f1cab..6706899 100644
--- a/scene.hpp
+++ b/scene.hpp
@@ -9,6 +9,7 @@
struct Arena;
struct Camera;
+struct Lighting;
struct Model_Instance;
struct Model_Scene;
struct World;
@@ -24,6 +25,7 @@ struct C_Model {
void update_scene(
Model_Scene& ms,
Device* dev,
+ const Lighting& lighting,
const Camera& cam,
World& w
);
@@ -37,3 +39,4 @@ std::pair<Entity_Id, int> scene_pick(
);
#endif
+