1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

MeshMakeData: Explain members, and add grid size and minimap flag

This commit is contained in:
Desour 2025-01-08 10:01:13 +01:00 committed by DS
parent c0ce918d77
commit d044c27b5f
6 changed files with 49 additions and 35 deletions

View file

@ -38,7 +38,8 @@ public:
MeshMakeData makeSingleNodeMMD(bool smooth_lighting = true)
{
MeshMakeData data{ndef(), 1};
MeshMakeData data{ndef(), 1, MeshGrid{1}};
data.m_generate_minimap = false;
data.m_smooth_lighting = smooth_lighting;
data.m_enable_water_reflections = false;
data.m_blockpos = {0, 0, 0};