Beispiel #1
0
 /// <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>
 /// <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);
 }
Beispiel #3
0
 /// <summary>
 /// Constructs a grid-based sort and sweep broad phase.
 /// </summary>
 /// <param name="threadManager">Thread manager to use for the broad phase.</param>
 public Grid2DSortAndSweep(IThreadManager threadManager)
     :base(threadManager)
 {
     updateEntry = UpdateEntry;
     updateCell = UpdateCell;
     QueryAccelerator = new Grid2DSortAndSweepQueryAccelerator(this);
 }
Beispiel #4
0
 /// <summary>
 /// Constructs a grid-based sort and sweep broad phase.
 /// </summary>
 /// <param name="threadManager">Thread manager to use for the broad phase.</param>
 public Grid2DSortAndSweep(IThreadManager threadManager)
     : base(threadManager)
 {
     updateEntry      = UpdateEntry;
     updateCell       = UpdateCell;
     QueryAccelerator = new Grid2DSortAndSweepQueryAccelerator(this);
 }
Beispiel #5
0
 /// <summary>
 /// Constructs a grid-based sort and sweep broad phase.
 /// </summary>
 public Grid2DSortAndSweep()
 {
     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);
 }