Upstream contribution · wheresryan22/anatomy
anatomy · Reject star polygons at the convex prism boundary
Problem
Anatomy's prism builder checked whether vertex turns had consistent signs. A regular star can satisfy that condition while winding twice, violating the assumptions of convex-part rendering and collision logic.
Engineering response
Require one complete turn around the ring and ignore repeated vertices in the turn calculation. Convex rings, collinear points and ordinary rounded rectangles retain their valid paths.
Evidence and scope
The PR reports two failing star-polygon cases on the baseline and all 30 checks passing across the relevant geometry suites. Generated examples were rebuilt with unchanged output.