Esempio n. 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);
 }
Esempio n. 2
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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 5
0
 /// <summary>
 /// Constructs a grid-based sort and sweep broad phase.
 /// </summary>
 public Grid2DSortAndSweep()
 {
     updateEntry      = UpdateEntry;
     updateCell       = UpdateCell;
     QueryAccelerator = new Grid2DSortAndSweepQueryAccelerator(this);
 }
Esempio n. 6
0
 /// <summary>
 /// Constructs a grid-based sort and sweep broad phase.
 /// </summary>
 public Grid2DSortAndSweep()
 {
     updateEntry = UpdateEntry;
     updateCell = UpdateCell;
     QueryAccelerator = new Grid2DSortAndSweepQueryAccelerator(this);
 }