Merge pull request #1034 from barfowl/far_tri_inf_sharp_edges

Fixed triangular patches at interior infinitely sharp edges
This commit is contained in:
David G Yu 2018-12-21 11:40:03 -08:00 committed by GitHub
commit 16cbbe3fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -766,9 +766,9 @@ PatchBuilder::GetRegularPatchBoundaryMask(int levelIndex, Index faceIndex,
// the encoded result of the two sets of 3 bits:
//
Level::VTag vFeatureTag(0);
vFeatureTag._boundary = true;
vFeatureTag._infSharp = testInfSharpFeatures;
vFeatureTag._nonManifold = true;
vFeatureTag._boundary = true;
vFeatureTag._infSharpEdges = testInfSharpFeatures;
vFeatureTag._nonManifold = true;
int vFeatureMask = vFeatureTag.getBits();