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
50 _skyStage->setSunColor(color);50 _skyStage->setSunColor(color);
51}51}
52 52
53const glm::vec3& SceneScriptingInterface::getSunColor() const {53glm::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
77const glm::vec3& SceneScriptingInterface::getSunDirection() const {77glm::vec3 SceneScriptingInterface::getSunDirection() const {
78 return _skyStage->getSunDirection();78 return _skyStage->getSunDirection();
79}79}
80 80