Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Geometry.mergeVertices fix + webgl_geometry_normals.html example #2867
This PR fixes a set of bugs in Geometry.mergeVertices:
I wrote an example that demonstrates the last bug mentioned above and that it is fixed. It is webgl_geometry_normals.html. Just merge in this PR but do not regenerate three.js or three.min.js. Run the example and select the LatheGeometry -- it will not display properly. Now re-build three.js/three.mins.js via build.bat or equivalent. webgl_geometry_normals.html now works with all geometry types.
I don't have examples of the first two bugs in this PR, but I do demonstrate in the example that this code still functions as expected.