Permalink
Browse files

case with 4 neigbours are smaller

  • Loading branch information...
1 parent fee98e1 commit 12f36728fa591df221aded85c9a32df394735bf0 @ppikula committed Dec 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 QuadTree.cpp
View
@@ -497,11 +497,11 @@ void QuadTree::applyTemplateTriangulation(QuadTreeNode* n)
tris.push_back(Triangle(p[7],p[4],p[0]));
tris.push_back(Triangle(p[4],p[5],p[1]));
- tris.push_back(Triangle(p[7],p[3],p[5]));
tris.push_back(Triangle(p[7],p[2],p[6]));
+ tris.push_back(Triangle(p[6],p[3],p[5]));
tris.push_back(Triangle(p[7],p[6],p[4]));
- tris.push_back(Triangle(p[4],p[7],p[5]));
+ tris.push_back(Triangle(p[4],p[6],p[5]));
}else if(sum==3){

0 comments on commit 12f3672

Please sign in to comment.