Skip to content

Commit

Permalink
update vertex
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyBoivie authored and JimmyBoivie committed Dec 3, 2015
1 parent 689fad6 commit 29c0acf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/HalfEdge.pde
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class HalfEdge {
if (try1 == null) {
twin.setnext(this);
previous = twin;
v1.setIncidentEdge(this);
} else {
twin.setnext(try1[1]);
previous = try1[0];
Expand All @@ -37,6 +38,7 @@ public class HalfEdge {
if (try2 == null) {
twin.setprevious(this);
next = twin;
v2.setIncidentEdge(twin);
} else {
twin.setprevious(try2[0]);
next = try2[1];
Expand Down

0 comments on commit 29c0acf

Please sign in to comment.