fixed: crash in createTriangles if strips/fans/polys of length < 2 are encountered