Weird Winding Order of Triangles in Procedural Mesh

yep, i also missing the logic on this one…