Mgfractal: Add 3D and 4D fractals
[oweals/minetest.git] / src / mesh.h
index 761842b0d744c618634802a4731c3f0aff499f8b..ec109e9e9422df9ad8d62b5b0fc9287493321c02 100644 (file)
@@ -48,6 +48,12 @@ void translateMesh(scene::IMesh *mesh, v3f vec);
 */
 void setMeshColor(scene::IMesh *mesh, const video::SColor &color);
 
+/*
+       Shade mesh faces according to their normals
+*/
+
+void shadeMeshFaces(scene::IMesh *mesh);
+
 /*
        Set the color of all vertices in the mesh.
        For each vertex, determine the largest absolute entry in