1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Add L-system trees as decorations (#14355)

This commit is contained in:
cx384 2024-03-12 20:10:28 +01:00 committed by GitHub
parent f07e1026ac
commit 60810c2d37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 125 additions and 46 deletions

View file

@ -35,7 +35,9 @@ namespace treegen {
UNBALANCED_BRACKETS
};
struct TreeDef {
struct TreeDef : public NodeResolver {
virtual void resolveNodeNames();
std::string initial_axiom;
std::string rules_a;
std::string rules_b;