Throw an exception here, because this only works for indexed triangles.