Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…oproject

Trying to merge after first major bug fix
  • Loading branch information
JimmyBoivie authored and JimmyBoivie committed Dec 7, 2015
2 parents 6f52c01 + e97953e commit 35c5125
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main/main.pde
Expand Up @@ -173,7 +173,6 @@ public void removePointMode(float x, float y) {
for(Point p: list.getPoints()) {
if((p.getX() - 10 < x) && (p.getX() + 10 > x)) {
if((p.getY() - 10 < y) && (p.getY() + 10 > y)) {
System.out.println("point found");
removeThis = p;
removePoint = true;
}
Expand All @@ -190,10 +189,7 @@ public void removeEdgeMode(float x, float y) {
if((p.getX() - 10 < x) && (p.getX() + 10 > x)) {
if((p.getY() - 10 < y) && (p.getY() + 10 > y)) {
HalfEdge h = list.getHalfEdge(removeEdgePoint, p);
System.out.println("is halfedge null?");
System.out.println(p);
if(h != null) {
System.out.println("edge should be removed");
h.Remove();
}
removeEdge = false;
Expand All @@ -204,8 +200,6 @@ public void removeEdgeMode(float x, float y) {
for(Point p: list.getPoints()) {
if((p.getX() - 10 < x) && (p.getX() + 10 > x)) {
if((p.getY() - 10 < y) && (p.getY() + 10 > y)) {
System.out.println("got first point");
System.out.println(p);
removeEdgePoint = p;
removeEdge = true;
}
Expand Down

0 comments on commit 35c5125

Please sign in to comment.