/// <summary> /// Constructs a grid-based sort and sweep broad phase. /// </summary> /// <param name="parallelLooper">Parallel loop provider to use for the broad phase.</param> public Grid2DSortAndSweep(IParallelLooper parallelLooper) : base(parallelLooper) { updateEntry = UpdateEntry; updateCell = UpdateCell; QueryAccelerator = new Grid2DSortAndSweepQueryAccelerator(this); }
/// <summary> /// Constructs a grid-based sort and sweep broad phase. /// </summary> public Grid2DSortAndSweep() { updateEntry = UpdateEntry; updateCell = UpdateCell; QueryAccelerator = new Grid2DSortAndSweepQueryAccelerator(this); }