Closed walbourn closed 6 years ago
Fixed in this pull request
The WeldVertices function takes a std::function
to perform the evaluation instead of a "weld-epsilons" fixed-function structure. The D3DX function also performed a vertex optimization to remove unused vertices which can be done with the existing OptimizeVertices
method and the new CompactVB
helper.
Welds vertices that share attributes based on a epsilon threshold.
Ericson, C. "Real Time Collision Detection", Chapter 12.1, Morgan Kaufmann Publishers, 2005