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:
parent
c0ce918d77
commit
d044c27b5f
6 changed files with 49 additions and 35 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue