public OverlapWorker(int workerIndex, BufferPool pool, NarrowPhase <TCallbacks> narrowPhase) { Batcher = new StreamingBatcher(pool, narrowPhase.CollisionTaskRegistry); Filters = new BatcherFilters(workerIndex, narrowPhase); ConstraintGenerators = new ConstraintGenerators(workerIndex, pool, narrowPhase); PendingConstraints = new PendingConstraintAddCache(pool); }
public OverlapWorker(int workerIndex, BufferPool pool, NarrowPhase <TCallbacks> narrowPhase) { Batcher = new StreamingBatcher(pool, narrowPhase.CollisionTaskRegistry); Filters = new BatcherFilters(workerIndex, narrowPhase); ConstraintGenerators = new ConstraintGenerators(workerIndex, pool, narrowPhase); PendingConstraints = new PendingConstraintAddCache(pool); QuickList <int, Buffer <int> > .Create(pool.SpecializeFor <int>(), 16, out PendingSetAwakenings); }