1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Meshgen: Handle enable_water_reflections like smooth_lighting

This commit is contained in:
Desour 2025-01-07 15:36:45 +01:00 committed by DS
parent 9a60b83061
commit c0ce918d77
8 changed files with 13 additions and 19 deletions

View file

@ -39,6 +39,7 @@ struct MeshMakeData
v3s16 m_blockpos = v3s16(-1337,-1337,-1337);
v3s16 m_crack_pos_relative = v3s16(-1337,-1337,-1337);
bool m_smooth_lighting = false;
bool m_enable_water_reflections = false;
u16 side_length;
const NodeDefManager *nodedef;
@ -55,11 +56,6 @@ struct MeshMakeData
Set the (node) position of a crack
*/
void setCrack(int crack_level, v3s16 crack_pos);
/*
Enable or disable smooth lighting
*/
void setSmoothLighting(bool smooth_lighting);
};
// represents a triangle as indexes into the vertex buffer in SMeshBuffer