threepp/extras/QuickHull.h
VertexNode *removeAllVerticesFromFace( Face *face ) {

    if ( face->outside ) {

      // reference to the first and last vertex of this face
      VertexNode *start = face->outside;
      VertexNode *end = face->outside;

      while ( end->next && end->next->face(faces) == face ) {

        end = end->next;
      }

      assigned.removeSubList( start, end );

      // fix references
      start->prev = end->next = nullptr;
      face->outside = nullptr;

      return start;
    }
    return nullptr;
  }
// Removes all the visible vertices that a given face is able to see which are stored in the 'assigned' vertext list
Removes all the visible vertices that a given face is able to see which are stored in the 'assigned' vertext list
Removes all the visible vertices that a given face is able to see which are stored in the ' assigned ' vertext list
VertexNode *removeAllVerticesFromFace( Face *face ) {
    if ( face->outside ) {
      VertexNode *start = face->outside;
      VertexNode *end = face->outside;
      while ( end->next && end->next->face(faces) == face ) {
        end = end->next;
      }
      assigned.removeSubList( start, end );
      start->prev = end->next = nullptr;
      face->outside = nullptr;
      return start;
    }
    return nullptr;
  }
VertexNode * removeAllVerticesFromFace ( Face * face ) { if ( face -> outside ) { VertexNode * start = face -> outside ; VertexNode * end = face -> outside ; while ( end -> next && end -> next -> face ( faces ) == face ) { end = end -> next ; } assigned . removeSubList ( start , end ) ; start -> prev = end -> next = nullptr ; face -> outside = nullptr ; return start ; } return nullptr ; }
Removes all the visible vertices that a given face is able to see which are stored in the 'assigned' vertext list
Removes all the visible vertices that a given face is able to see which are stored in the ' assigned ' vertext list
// reference to the first and last vertex of this face // fix references