aboutsummaryrefslogtreecommitdiff
path: root/src/sky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sky.cpp')
-rw-r--r--src/sky.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/sky.cpp b/src/sky.cpp
index 01fb8ef86..682ff05e3 100644
--- a/src/sky.cpp
+++ b/src/sky.cpp
@@ -25,8 +25,8 @@ Sky::Sky(scene::ISceneNode* parent, scene::ISceneManager* mgr, s32 id,
m_cloudcolor_bright_f(1,1,1,1)
{
setAutomaticCulling(scene::EAC_OFF);
- Box.MaxEdge.set(0,0,0);
- Box.MinEdge.set(0,0,0);
+ m_box.MaxEdge.set(0,0,0);
+ m_box.MinEdge.set(0,0,0);
// create material
@@ -94,11 +94,6 @@ void Sky::OnRegisterSceneNode()
scene::ISceneNode::OnRegisterSceneNode();
}
-const core::aabbox3d<f32>& Sky::getBoundingBox() const
-{
- return Box;
-}
-
//! renders the node.
void Sky::render()
{