summaryrefslogtreecommitdiff
path: root/src/wieldmesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r--src/wieldmesh.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h
index 3f4f4fc04..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,11 @@ 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);
+
+scene::IMesh *getExtrudedMesh(ITextureSource *tsrc,
+ const std::string &imagename);
#endif