mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Simplistic wielded tool lighting, added setMeshVerticesColor to utility.h and refactored some other code into calls of that
This commit is contained in:
parent
a4a2c34831
commit
3e012122d1
8 changed files with 66 additions and 145 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue