summaryrefslogtreecommitdiff
path: root/src/mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh.h')
-rw-r--r--src/mesh.h5
1 files changed, 5 insertions, 0 deletions
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.