diff --git a/include/fractal.hpp b/include/fractal.hpp index ee36dbe..097d13b 100644 --- a/include/fractal.hpp +++ b/include/fractal.hpp @@ -256,6 +256,7 @@ class generator_t { bool m_has_ruleset = false; group_id_t m_axiom; + mtl::fixed m_scale = 1; etl::vector m_leaf_buf1; etl::vector 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); /**