Open waywardmonkeys opened 3 days ago
In this case, we're constructing the shape via:
let radius_var = Var::new();
let tree = (x.square() + y.square() + z.square()).sqrt() - radius_var;
let shape = VmShape::from(tree);
I'm working on fixing both this and #182 with a new ShapeVars
object, stay tuned...
When using code similar to https://docs.rs/fidget/latest/fidget/mesh/index.html, if your shape needs variables, how can you pass them through?
There doesn't seem to be a way to get them to an eval call.
I guess the same is true for the render APIs?