Solid.fixTriangleWindingsByAdjacency()
Reorients authored triangles so shared edges are used with opposite directions and the mesh becomes coherently wound.
Usage
javascript
solid.fixTriangleWindingsByAdjacency();Run this when importing or building triangles manually and winding consistency is uncertain.