quad tree for visibility wip

This commit is contained in:
2016-12-25 14:56:41 +07:00
parent a7f4fee821
commit 864727a50d
11 changed files with 542 additions and 440 deletions

View File

@@ -102,9 +102,9 @@ namespace IsoTools.Internal {
}
public static IsoRect Merge(IsoRect a, IsoRect b) {
return new IsoRect(
IsoMinMax.Merge(a.x, b.x),
IsoMinMax.Merge(a.y, b.y));
a.x = IsoMinMax.Merge(a.x, b.x);
a.y = IsoMinMax.Merge(a.y, b.y);
return a;
}
}
}