public IntertreeOverlapHandler(Buffer <CollidableReference> leavesA, Buffer <CollidableReference> leavesB, NarrowPhase <TCallbacks> narrowPhase, int workerIndex)
 {
     LeavesA     = leavesA;
     LeavesB     = leavesB;
     NarrowPhase = narrowPhase;
     WorkerIndex = workerIndex;
 }
예제 #2
0
 public FreshnessChecker(NarrowPhase narrowPhase)
 {
     pairCache         = narrowPhase.PairCache;
     constraintRemover = narrowPhase.ConstraintRemover;
 }
 public SelfOverlapHandler(Buffer <CollidableReference> leaves, NarrowPhase <TCallbacks> narrowPhase, int workerIndex)
 {
     Leaves      = leaves;
     NarrowPhase = narrowPhase;
     WorkerIndex = workerIndex;
 }