mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2026-01-05 01:50:58 +07:00
quad tree for visibility wip
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user