Showing the changes to libraries/script-engine/src/SceneScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -9,12 +9,17 @@ · 8 unmodified lines | |||
| 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html |
| 10 | // | 10 | // |
| 11 | 11 | ||
| 12 | #include "SceneScriptingInterface.h" | ||
| 13 | |||
| 12 | #include <AddressManager.h> | 14 | #include <AddressManager.h> |
| 13 | 15 | ||
| 14 | #include "SceneScriptingInterface.h" | ||
| 15 | 16 | ||
| 16 | #include "SceneScriptingInterface.h" | 17 | #include <procedural/ProceduralSkybox.h> |
| 17 | 18 | ||
| 19 | SceneScriptingInterface::SceneScriptingInterface() { | ||
| 20 | // Let's make sure the sunSkyStage is using a proceduralSKybox | ||
| 21 | _skyStage->setSkybox(model::SkyboxPointer(new ProceduralSkybox())); | ||
| 22 | } | ||
| 18 | 23 | ||
| 19 | void SceneScriptingInterface::setStageOrientation(const glm::quat& orientation) { | 24 | void SceneScriptingInterface::setStageOrientation(const glm::quat& orientation) { |
| 20 | _skyStage->setOriginOrientation(orientation); | 25 | _skyStage->setOriginOrientation(orientation); |