summaryrefslogtreecommitdiff
path: root/src/wieldmesh.h
diff options
context:
space:
mode:
authornerzhul <loic.blot@unix-experience.fr>2016-02-11 15:21:21 +0100
committerest31 <MTest31@outlook.com>2016-02-11 16:55:15 +0100
commitfefa148d694364cb4c60fbb4ffdc0f8ae6388df6 (patch)
tree8755fd0d4ef196c23924ae2909a29681f9f77f05 /src/wieldmesh.h
parent24b312cc085b7fae6477c8a47fffb57484b20f6e (diff)
downloadminetest-fefa148d694364cb4c60fbb4ffdc0f8ae6388df6.tar.gz
minetest-fefa148d694364cb4c60fbb4ffdc0f8ae6388df6.tar.bz2
minetest-fefa148d694364cb4c60fbb4ffdc0f8ae6388df6.zip
v2d & aabbox3d<f32> & sky cleanups
* Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r--src/wieldmesh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h
index c29c06f95..0b3136bc1 100644
--- a/src/wieldmesh.h
+++ b/src/wieldmesh.h
@@ -53,7 +53,7 @@ public:
virtual void render();
- virtual const core::aabbox3d<f32>& getBoundingBox() const
+ virtual const aabb3f &getBoundingBox() const
{ return m_bounding_box; }
private:
@@ -74,7 +74,7 @@ private:
// Bounding box culling is disabled for this type of scene node,
// so this variable is just required so we can implement
// getBoundingBox() and is set to an empty box.
- core::aabbox3d<f32> m_bounding_box;
+ aabb3f m_bounding_box;
};
scene::IMesh *getItemMesh(IGameDef *gamedef, const ItemStack &item);