Skip to content

Commit ba3b921

Browse files
committed
Fix face normal correction not being applied with bowyer-watson method
1 parent d39eb3a commit ba3b921

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/ObjObject.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ private static Face[] CreateFaces(Vertex[] vertices, ClippingPlane[] planes)
151151
return null;
152152

153153
foreach (Face face in BowyerWatson(verts))
154+
{
155+
FixNormal(face, planes[i].Normal);
154156
faces.Add(face);
157+
}
155158
}
156159

157160
return faces.ToArray();

0 commit comments

Comments
 (0)