diff --git a/level.cc b/level.cc index 093a0ec..7875712 100644 --- a/level.cc +++ b/level.cc @@ -28,3 +28,11 @@ void Level::render() { objects[i].render(); } } + +glm::vec3 Level::getAmbientLight() { + return ambientLight; +} + +std::vector Level::getLights() { + return lights; +} diff --git a/level.hh b/level.hh index 53f4bf1..8d07a0b 100644 --- a/level.hh +++ b/level.hh @@ -15,6 +15,8 @@ class Level { ~Level(); void load(Shader shader); // Shader is necessary for correct texture assigning void render(); + glm::vec3 getAmbientLight(); + std::vector getLights(); private: std::string filePath; std::vector objects;