Implemented two getters.
This commit is contained in:
parent
5c4b125e4d
commit
8f6ab075b5
8
level.cc
8
level.cc
@ -28,3 +28,11 @@ void Level::render() {
|
||||
objects[i].render();
|
||||
}
|
||||
}
|
||||
|
||||
glm::vec3 Level::getAmbientLight() {
|
||||
return ambientLight;
|
||||
}
|
||||
|
||||
std::vector<Light> Level::getLights() {
|
||||
return lights;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user