public static bool Contains(Bounds2D bounds, float2[] positions) => Contains(bounds, new NativeArray <float2>(positions, Allocator.Temp));
public static bool Contains(Bounds2D bounds, float2 position) => position.x > bounds.Center.x - bounds.Extents.x && position.y > bounds.Center.y - bounds.Extents.y && position.x < bounds.Center.x + bounds.Extents.x && position.y < bounds.Center.y + bounds.Extents.y;
public Branch(Bounds2D bounds) { this.bounds = bounds; isLeaf = false; ChildStartIndex = 0; }