From 29c0acf23df4b4bf6ed4333cb1ae1ad5d90c4863 Mon Sep 17 00:00:00 2001 From: JimmyBoivie Date: Thu, 3 Dec 2015 15:36:44 -0500 Subject: [PATCH] update vertex --- main/HalfEdge.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/HalfEdge.pde b/main/HalfEdge.pde index 9c5a463..a077589 100644 --- a/main/HalfEdge.pde +++ b/main/HalfEdge.pde @@ -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]; @@ -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];