add triangles-only assertion to renderMesh
remove tess.flagBoundary in favor of a simple argument