summaryrefslogtreecommitdiff
path: root/src/wieldmesh.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2016-01-24 14:19:17 +0100
committerest31 <MTest31@outlook.com>2016-02-07 19:51:55 +0100
commit6cd2b3b445bf558fda1e5a7908adef8e3a45449a (patch)
treee8c48b85e55f4e86246ee21e093cee7f80146c04 /src/wieldmesh.h
parentbf884e37a06e0a8dd6c31789a69921f07ec5a9a9 (diff)
downloadminetest-6cd2b3b445bf558fda1e5a7908adef8e3a45449a.tar.gz
minetest-6cd2b3b445bf558fda1e5a7908adef8e3a45449a.tar.bz2
minetest-6cd2b3b445bf558fda1e5a7908adef8e3a45449a.zip
Use meshes to display inventory items
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r--src/wieldmesh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h
index 3f4f4fc04..c29c06f95 100644
--- a/src/wieldmesh.h
+++ b/src/wieldmesh.h
@@ -77,4 +77,8 @@ private:
core::aabbox3d<f32> m_bounding_box;
};
+scene::IMesh *getItemMesh(IGameDef *gamedef, const ItemStack &item);
+
+scene::IMesh *getExtrudedMesh(ITextureSource *tsrc,
+ const std::string &imagename);
#endif