History

Update the cookies.js to be able to edit and test direction and color, validate that the SunDirection and color and on/off is working

Sam Gateau committed 11 years ago

Commit 687ca7f1 parent 11879f66 files · +291 −53Browse files

Showing the changes to libraries/script-engine/src/SceneScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

libraries/script-engine/src/SceneScriptingInterface.cpp+2−2
@@ -50,7 +50,7 @@ void SceneScriptingInterface::setSunColor(const glm::vec3& color) { · 49 unmodified lines
5050 _skyStage->setSunColor(color);
5151 }
5252
53−const glm::vec3& SceneScriptingInterface::getSunColor() const {
53+glm::vec3 SceneScriptingInterface::getSunColor() const {
5454 return _skyStage->getSunColor();
5555 }
5656
@@ -74,7 +74,7 @@ void SceneScriptingInterface::setSunDirection(const glm::vec3& direction) { · 17 unmodified lines
7474 _skyStage->setSunDirection(direction);
7575 }
7676
77−const glm::vec3& SceneScriptingInterface::getSunDirection() const {
77+glm::vec3 SceneScriptingInterface::getSunDirection() const {
7878 return _skyStage->getSunDirection();
7979 }
8080