Add scale to generator
This commit is contained in:
parent
513d000e11
commit
faf9f7af3b
@ -256,6 +256,7 @@ class generator_t {
|
||||
|
||||
bool m_has_ruleset = false;
|
||||
group_id_t m_axiom;
|
||||
mtl::fixed m_scale = 1;
|
||||
|
||||
etl::vector<leaf_t, g_max_leafs> m_leaf_buf1;
|
||||
etl::vector<leaf_t, g_max_leafs> m_leaf_buf2;
|
||||
@ -289,6 +290,8 @@ public:
|
||||
parse_ruleset(ruleset);
|
||||
}
|
||||
|
||||
void set_scale(mtl::fixed scale) { m_scale = scale; }
|
||||
|
||||
void parse_ruleset(const ruleset_t& ruleset);
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user