public FrameCoherentSAPDetector() { this.xExtentList = new ExtentList(this); this.yExtentList = new ExtentList(this); this.xInfoList = new ExtentInfoList(this); this.yInfoList = new ExtentInfoList(this); this.collisionPairs = new CollisionPairDictionary(); }
public SweepAndPruneCollider(PhysicsSimulator physicsSimulator) { _physicsSimulator = physicsSimulator; _xExtentList = new ExtentList(this); _yExtentList = new ExtentList(this); _xInfoList = new ExtentInfoList(this); _yInfoList = new ExtentInfoList(this); collisionPairs = new CollisionPairDictionary(); }