Showing the changes to libraries/script-engine/src/SceneScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -50,7 +50,7 @@ void SceneScriptingInterface::setSunColor(const glm::vec3& color) { · 49 unmodified lines | |||
| 50 | _skyStage->setSunColor(color); | 50 | _skyStage->setSunColor(color); |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | const glm::vec3& SceneScriptingInterface::getSunColor() const { | 53 | glm::vec3 SceneScriptingInterface::getSunColor() const { |
| 54 | return _skyStage->getSunColor(); | 54 | return _skyStage->getSunColor(); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| @@ -74,7 +74,7 @@ void SceneScriptingInterface::setSunDirection(const glm::vec3& direction) { · 17 unmodified lines | |||
| 74 | _skyStage->setSunDirection(direction); | 74 | _skyStage->setSunDirection(direction); |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | const glm::vec3& SceneScriptingInterface::getSunDirection() const { | 77 | glm::vec3 SceneScriptingInterface::getSunDirection() const { |
| 78 | return _skyStage->getSunDirection(); | 78 | return _skyStage->getSunDirection(); |
| 79 | } | 79 | } |
| 80 | 80 | ||