marching icon indicating copy to clipboard operation
marching copied to clipboard

Grouped translation of primitives fails when one of them has the Twist modifier

Open khoparzi opened this issue 5 years ago • 1 comments

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)

khoparzi avatar Mar 08 '21 13:03 khoparzi

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)

khoparzi avatar Mar 08 '21 13:03 khoparzi