threepp/extras/QuickHull.h
void removeVertexFromFace( VertexNode *vertex, Face *face )
  {
    if ( vertex == face->outside ) {

      // fix face.outside link
      if ( vertex->next && vertex->next->face(faces) == face) {

        // face has at least 2 outside vertices, move the 'outside' reference
        face->outside = vertex->next;
      }
      else {

        // vertex was the only outside vertex that face had
        face->outside = nullptr;
      }
    }

    assigned.remove( vertex );
  }
/*
   * Removes a vertex from the 'assigned' list of vertices and from the given face
   */
Removes a vertex from the 'assigned' list of vertices and from the given face
Removes a vertex from the ' assigned ' list of vertices and from the given face
void removeVertexFromFace( VertexNode *vertex, Face *face )
  {
    if ( vertex == face->outside ) {
      if ( vertex->next && vertex->next->face(faces) == face) {
        face->outside = vertex->next;
      }
      else {
        face->outside = nullptr;
      }
    }
    assigned.remove( vertex );
  }
void removeVertexFromFace ( VertexNode * vertex , Face * face ) { if ( vertex == face -> outside ) { if ( vertex -> next && vertex -> next -> face ( faces ) == face ) { face -> outside = vertex -> next ; } else { face -> outside = nullptr ; } } assigned . remove ( vertex ) ; }
Removes a vertex from the 'assigned' list of vertices and from the given face
Removes a vertex from the ' assigned ' list of vertices and from the given face
// fix face.outside link // face has at least 2 outside vertices, move the 'outside' reference // vertex was the only outside vertex that face had