reindexFace2s method

ConvexHull reindexFace2s()

Implementation

ConvexHull reindexFace2s() {
  List<Face2> activeFace2s = [];

  for (int i = 0; i < faces.length; i++) {
    final face = faces[i];

    if (face.mark == visible) {
      activeFace2s.add(face);
    }
  }

  faces = activeFace2s;

  return this;
}