aboutsummaryrefslogtreecommitdiff
path: root/src/wieldmesh.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2015-07-21 23:56:41 +0200
committerRealBadAngel <maciej.kasatkin@o2.pl>2015-07-21 23:56:41 +0200
commit60350699c792b816b20704d59cfbda0894cdba39 (patch)
tree59e9a369d9ea87804035ee27ea902a81b4f90060 /src/wieldmesh.h
parent5b0c719171eb9ccb8f2829eb1cc8b3fe9f24cd05 (diff)
downloadminetest-60350699c792b816b20704d59cfbda0894cdba39.tar.gz
minetest-60350699c792b816b20704d59cfbda0894cdba39.tar.bz2
minetest-60350699c792b816b20704d59cfbda0894cdba39.zip
Add wielded (and CAOs) shader
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r--src/wieldmesh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h
index 933b53763..3f4f4fc04 100644
--- a/src/wieldmesh.h
+++ b/src/wieldmesh.h
@@ -48,6 +48,9 @@ public:
// Must only be used if the constructor was called with lighting = false
void setColor(video::SColor color);
+ scene::IMesh *getMesh()
+ { return m_meshnode->getMesh(); }
+
virtual void render();
virtual const core::aabbox3d<f32>& getBoundingBox() const