コード例 #1
0
ファイル: Grid2DSortAndSweep.cs プロジェクト: tonypeng/Bloxel
 /// <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);
 }
コード例 #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);
 }
コード例 #3
0
ファイル: Grid2DSortAndSweep.cs プロジェクト: Indiefreaks/igf
 /// <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);
 }
コード例 #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);
 }
コード例 #5
0
ファイル: Grid2DSortAndSweep.cs プロジェクト: tonypeng/Bloxel
 /// <summary>
 /// Constructs a grid-based sort and sweep broad phase.
 /// </summary>
 public Grid2DSortAndSweep()
 {
     updateEntry      = UpdateEntry;
     updateCell       = UpdateCell;
     QueryAccelerator = new Grid2DSortAndSweepQueryAccelerator(this);
 }
コード例 #6
0
 /// <summary>
 /// Constructs a grid-based sort and sweep broad phase.
 /// </summary>
 public Grid2DSortAndSweep()
 {
     updateEntry = UpdateEntry;
     updateCell = UpdateCell;
     QueryAccelerator = new Grid2DSortAndSweepQueryAccelerator(this);
 }