summaryrefslogtreecommitdiff
path: root/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene.cpp')
-rw-r--r--scene.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene.cpp b/scene.cpp
index 89f6f75..d162eda 100644
--- a/scene.cpp
+++ b/scene.cpp
@@ -5,6 +5,7 @@
void update_scene(
Model_Scene& ms,
Device* dev,
+ const Lighting& lighting,
const Camera& cam,
World& w
) {
@@ -13,7 +14,7 @@ void update_scene(
auto& m = v.get<C_Model>();
m.i->transform = t.mat;
}
- ms.update(cam, dev);
+ ms.update(cam, lighting, dev);
}
std::pair<Entity_Id, int> scene_pick(