Infinite loop occured when quad-to-triangles operator. The iterator increment in the do/while conditional gets executed after the continue, so the iterator was getting double-incremented and thus could skip past the first loop.
Infinite loop occured when quad-to-triangles operator. The iterator increment in the do/while conditional gets executed after the continue, so the iterator was getting double-incremented and thus could skip past the first loop.