Skip to content

Commit

Permalink
yet another type typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cignoni committed Apr 13, 2023
1 parent 3224a4a commit 35b21da
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions vcg/simplex/face/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -824,13 +824,18 @@ void FlipEdgeNotManifold(FaceType &f, const int z)
FaceType* ftmp = &f;

if (gp1 != g)
FFAttach(ftmp, z, gp1, gi1);
FFAttach(f, z, *gp1, gi1);
if (fp1 != &f)
FFAttach(g, w, fp1, fi1);
FFAttach(*g, w, *fp1, fi1);

FFAttachManifold(ftmp, (z+1)%3, g, (w+1)%3);
}

/*!
* Given a face it splits into three face with a mid vertex
* No allocation is done here, a new vertex and two new faces are needed
*/

template <class FaceType>
void TriSplit(FaceType *fToSplit, FaceType *newf0, FaceType *newf1, typename FaceType::VertexType *newVert)
{
Expand Down

0 comments on commit 35b21da

Please sign in to comment.