-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ComputeVisiblePatch tracks all visited faces (#435)
The previous version of the code only tracked those faces that were explicitly known to be visible. This led to two problems: 1. A "hidden" face could be visited multiple times and the calculation to determine its visibility could be needlessly repeated. 2. The different visits could actually produce *different* results leading to inherently contradictory classifications of edges. In this case, we track every face we've visited and lock its classification into the first classification computed. Furthermore, we extend the sanity check to look for duplicate classificaitons and tweak documentation.
- Loading branch information
1 parent
79b4d4c
commit 24b7c90
Showing
2 changed files
with
131 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters