summaryrefslogtreecommitdiff
path: root/scene.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-02-22 18:16:05 +1100
committerquou <quou@disroot.org>2025-02-22 18:16:37 +1100
commitab9ed1ccadbd2c1b971bfbfb5ee651aa03a4a63e (patch)
treef08cddeb3f6ecb668dbac536d0ee2c533b0a55ee /scene.cpp
parentb10d6e5857481d4b018547c66585fd4f84a85937 (diff)
shader globals
Diffstat (limited to 'scene.cpp')
-rw-r--r--scene.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scene.cpp b/scene.cpp
index d162eda..53d06dd 100644
--- a/scene.cpp
+++ b/scene.cpp
@@ -5,8 +5,6 @@
void update_scene(
Model_Scene& ms,
Device* dev,
- const Lighting& lighting,
- const Camera& cam,
World& w
) {
for (auto v : w.view<Transform, C_Model>()) {
@@ -14,7 +12,7 @@ void update_scene(
auto& m = v.get<C_Model>();
m.i->transform = t.mat;
}
- ms.update(cam, lighting, dev);
+ ms.update(dev);
}
std::pair<Entity_Id, int> scene_pick(