projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mgfractal: Add 3D and 4D fractals
[oweals/minetest.git]
/
src
/
mesh.h
diff --git
a/src/mesh.h
b/src/mesh.h
index 761842b0d744c618634802a4731c3f0aff499f8b..ec109e9e9422df9ad8d62b5b0fc9287493321c02 100644
(file)
--- a/
src/mesh.h
+++ b/
src/mesh.h
@@
-48,6
+48,12
@@
void translateMesh(scene::IMesh *mesh, v3f vec);
*/
void setMeshColor(scene::IMesh *mesh, const video::SColor &color);
*/
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
/*
Set the color of all vertices in the mesh.
For each vertex, determine the largest absolute entry in