reindexFace2s method

ConvexHull reindexFace2s()

Implementation

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

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

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

  faces = activeFace2s;

  return this;
}