diff options
author | quou <quou@disroot.org> | 2025-02-09 18:50:58 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-02-09 18:51:30 +1100 |
commit | 629dc808c595d65cda74a86975ebd780113f3431 (patch) | |
tree | 72d0c17600c6420fc2b834529d781dc43cc20317 /scene.hpp | |
parent | 1c86bb51da99df1950124d812eabcfe15af4f771 (diff) |
Properly send lights from the CPU
Diffstat (limited to 'scene.hpp')
-rw-r--r-- | scene.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 + |