Closed memononen closed 9 years ago
AdaptiveRefinementNode.triangulateLeaf() had modulo mixed up, which caused the triangles to use indices in 0...n range (i.e. one corner of the surface). This change fixes the triangulation of the transition patches.
Thanks @memononen! I'll take a look tonight when I'm off work.
LGTM! Thanks @memononen! Obviously this part of the library is still pretty rough. Let me know if you have any suggestions.
AdaptiveRefinementNode.triangulateLeaf() had modulo mixed up, which caused the triangles to use indices in 0...n range (i.e. one corner of the surface). This change fixes the triangulation of the transition patches.