mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
L-Systems treegen update.
This commit is contained in:
parent
099d7ff2ad
commit
8b75736c6f
4 changed files with 107 additions and 66 deletions
|
@ -38,12 +38,15 @@ std::string rules_c;
|
|||
std::string rules_d;
|
||||
MapNode trunknode;
|
||||
MapNode leavesnode;
|
||||
MapNode leaves2node;
|
||||
int leaves2_chance;
|
||||
int angle;
|
||||
int iterations;
|
||||
int iterations_random_level;
|
||||
bool thin_trunks;
|
||||
bool fruit_tree;
|
||||
std::string trunk_type;
|
||||
bool thin_branches;
|
||||
MapNode fruitnode;
|
||||
int fruit_chance;
|
||||
};
|
||||
|
||||
// Add default tree
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue