mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 02:21:53 +00:00
With a twist, each edge of a band is cut into pieces, and the mesh gave those pieces their flat face normals, so a rounded or custom bevel with a twist was exported faceted. The smoothed normals are now worked out for each piece of each edge, from the same pieces the band is cut into, and every piece takes its own. The test a_twisted_rounded_bevel_keeps_its_normals_smoothed_on_every_piece_of_a_cut_edge checks that where the pieces of two bevel bands meet, the two bands give each piece one normal.