]> git.lizzy.rs Git - minetest.git/blobdiff - src/mesh.h
Use Irrlicht's mesh cache for animated meshes.
[minetest.git] / src / mesh.h
index 35270a999bdcbcd22c116743e6f5bf0b119d94a5..0c4094de2a7777e5138ceb47b99b188a0c945c6f 100644 (file)
@@ -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.