예제 #1
0
 public void Dispose()
 {
     _convexAlgo2D.Dispose();
     _boxAlgo2D.Dispose();
     _simplexSolver.Dispose();
     _penetrationDepthSolver.Dispose();
     this.StandardCleanup();
 }
예제 #2
0
        public override void ExitPhysics()
        {
            _simplexSolver.Dispose();
            _penetrationDepthSolver.Dispose();
            _convexAlgorithm2D.Dispose();
            _boxAlgorithm2D.Dispose();

            base.ExitPhysics();
        }
예제 #3
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _gjkSimplexSolver.Dispose();
            }

            base.Dispose(disposing);
        }
예제 #4
0
        public void Dispose()
        {
            _gjkSimplexSolver.Dispose();

            this.StandardCleanup();
        }