Quadrant fix.

This commit is contained in:
Steve 2016-02-21 13:46:58 +00:00
parent 9ced1e75c8
commit 862d73dbc2
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ static int getIndex(Quadtree *root, int x, int y, int w, int h)
{
if (topQuadrant)
{
index = 1;
index = 0;
}
else if (bottomQuadrant)
{
@ -178,7 +178,7 @@ static int getIndex(Quadtree *root, int x, int y, int w, int h)
{
if (topQuadrant)
{
index = 0;
index = 1;
}
else if (bottomQuadrant)
{