summaryrefslogtreecommitdiff
path: root/src/utility.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2011-09-21 18:37:29 +0200
committerKahrl <kahrl@gmx.net>2011-09-21 18:37:29 +0200
commit3e012122d1607a6269af4e4522305d8b5efcd9d4 (patch)
tree62682ee2228d2cf76e3d90c7f8360c9148802417 /src/utility.h
parenta4a2c348318139ae9605cf0d7477fe93e8aa2651 (diff)
downloadminetest-3e012122d1607a6269af4e4522305d8b5efcd9d4.tar.gz
minetest-3e012122d1607a6269af4e4522305d8b5efcd9d4.tar.bz2
minetest-3e012122d1607a6269af4e4522305d8b5efcd9d4.zip
Simplistic wielded tool lighting, added setMeshVerticesColor to utility.h and refactored some other code into calls of that
Diffstat (limited to 'src/utility.h')
-rw-r--r--src/utility.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utility.h b/src/utility.h
index d331bafbb..2fefd8667 100644
--- a/src/utility.h
+++ b/src/utility.h
@@ -553,6 +553,9 @@ private:
u32 *m_result;
};
+// Sets the color of all vertices in the mesh
+void setMeshVerticesColor(scene::IMesh* mesh, video::SColor& color);
+
// Calculates the borders of a "d-radius" cube
inline void getFacePositions(core::list<v3s16> &list, u16 d)
{