summaryrefslogtreecommitdiff
path: root/src/sky.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sky.h')
-rw-r--r--src/sky.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sky.h b/src/sky.h
index 5023cc682..f19891773 100644
--- a/src/sky.h
+++ b/src/sky.h
@@ -42,7 +42,8 @@ public:
//! renders the node.
virtual void render();
- virtual const core::aabbox3d<f32>& getBoundingBox() const;
+ virtual const aabb3f &getBoundingBox() const
+ { return m_box; }
// Used by Irrlicht for optimizing rendering
virtual video::SMaterial& getMaterial(u32 i)
@@ -74,7 +75,7 @@ public:
}
private:
- core::aabbox3d<f32> Box;
+ aabb3f m_box;
video::SMaterial m_materials[SKY_MATERIAL_COUNT];
// How much sun & moon transition should affect horizon color