1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)

This commit is contained in:
Danila Shutov 2020-04-19 19:47:13 +03:00 committed by GitHub
parent c87d52a5fa
commit cdbe3c5e57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 165 deletions

View file

@ -87,6 +87,8 @@ public:
// Must only be used if the constructor was called with lighting = false
void setColor(video::SColor color);
void setNodeLightColor(video::SColor color);
scene::IMesh *getMesh() { return m_meshnode->getMesh(); }
virtual void render();