X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworld%2FWorld.hpp;fp=src%2Fworld%2FWorld.hpp;h=273bfa63abc3809a507f77889015f044515b254c;hb=b4e5dad2ed5c7e77573de413f3bf5be88577856d;hp=7ee5f4306a228260f172d594c8776056020fcb6d;hpb=712000879e89895fee2e364aa6b5db48a1f81b8b;p=blank.git diff --git a/src/world/World.hpp b/src/world/World.hpp index 7ee5f43..273bfa6 100644 --- a/src/world/World.hpp +++ b/src/world/World.hpp @@ -130,6 +130,14 @@ private: const EntityState & ); + /// calculate light direction and intensity at entity's location + void GetLight( + const Entity &entity, + glm::vec3 &direction, + glm::vec3 &color, + glm::vec3 &ambient + ); + private: Config config;