X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fmesh.h;h=0c4094de2a7777e5138ceb47b99b188a0c945c6f;hb=fd9f195fcc2e4e592dbad3290876486eb08318b2;hp=35270a999bdcbcd22c116743e6f5bf0b119d94a5;hpb=921151d97a2fb2238ab514324fb95e2732248b96;p=minetest.git diff --git a/src/mesh.h b/src/mesh.h index 35270a999..0c4094de2 100644 --- a/src/mesh.h +++ b/src/mesh.h @@ -58,6 +58,11 @@ void setMeshBufferColor(scene::IMeshBuffer *buf, const video::SColor &color); */ void setMeshColor(scene::IMesh *mesh, const video::SColor &color); +/* + Set a constant color for an animated mesh +*/ +void setAnimatedMeshColor(scene::IAnimatedMeshSceneNode *node, const video::SColor &color); + /*! * Overwrites the color of a mesh buffer. * The color is darkened based on the normal vector of the vertices.