Added Vertices.CheckPolygon(out int error, out string errorMessage), migrated the bulk of the existing Vertices.CheckPolygon to this function and refactored to return the information instead of just dumping it to the debug output. Modified existing CheckPolygon to display the results. Behavior is the same, but the new method allows tools to extract any error messages (== content pipelines) for logging purposes. Improved the message text a bit to make it more clear what (if anything) is failing.
Added Vertices.CheckPolygon(out int error, out string errorMessage), migrated the bulk of the existing Vertices.CheckPolygon to this function and refactored to return the information instead of just dumping it to the debug output. Modified existing CheckPolygon to display the results. Behavior is the same, but the new method allows tools to extract any error messages (== content pipelines) for logging purposes. Improved the message text a bit to make it more clear what (if anything) is failing.

VelcroPhysics/VelcroPhysics