#GameDev #Godot #Subdividsion #CatmullClark #DebugDrawModeTotheRescue
Aaaaand, fixed! That wasn't really six hours solid debugging, or even an hour of drinking coffee and 4 hours debugging, there was cooking an eating a meal, watching the end of a Scandi Noire murder series... so maybe three hours solid debugging...
As ever, it's not assumptions you make that bite you the worst.
It's the assumptions you didn't even know were there. In this case the assumption that the edges are always added in to a vertex *clockwise*...
So, three hours debugging and one quick method VertUtil.ToVertWithSortedEdgesAndPolys(...) later and it finally looks like I'm really doing what I thought I was doing three days ago.

