Exemplo n.º 1
0
 /// <summary>
 /// Constructs a new dynamic hierarchy broad phase.
 /// </summary>
 /// <param name="parallelLooper">Parallel loop provider to use in the broad phase.</param>
 public DynamicHierarchy(IParallelLooper parallelLooper)
     : base(parallelLooper)
 {
     multithreadedRefit   = MultithreadedRefit;
     multithreadedOverlap = MultithreadedOverlap;
     QueryAccelerator     = new DynamicHierarchyQueryAccelerator(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructs a new dynamic hierarchy broad phase.
 /// </summary>
 public DynamicHierarchy()
 {
     multithreadedRefit   = MultithreadedRefit;
     multithreadedOverlap = MultithreadedOverlap;
     QueryAccelerator     = new DynamicHierarchyQueryAccelerator(this);
 }