Add scale to generator

This commit is contained in:
Maddie Busig 2025-05-07 02:04:59 -07:00
parent 513d000e11
commit faf9f7af3b

View File

@ -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);
/**