marching
marching copied to clipboard
Grouped translation of primitives fails when one of them has the Twist modifier
When we try to translate the Union as a group, the combined shape should move forward, instead only the first primitive translates.
march( Union( Torus(), Twist(Torus(Vec2(.5, .125), 8)) ).translate(0, 0, 3) ).render(5, true)
Ok, turns out Bend has the same issue and you don't have to apply any combinators in either of them.
march( Bend(Torus()).translate(0, 0, 2) ).render(5, true)