You could have `splitTriangleAtInternationalDateLine` modify the positions and indices directly.