Changing getCamera to pointers.
This commit is contained in:
parent
1fb288b220
commit
3485299717
4
level.cc
4
level.cc
@ -74,8 +74,8 @@ std::vector<Light> Level::getLights() {
|
||||
return lights;
|
||||
}
|
||||
|
||||
Camera Level::getCamera() {
|
||||
return camera;
|
||||
Camera* Level::getCamera() {
|
||||
return &camera;
|
||||
}
|
||||
|
||||
Object* Level::getCameraCenter() {
|
||||
|
Loading…
Reference in New Issue
Block a user