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

            base.ExitPhysics();
        }
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _gjkSimplexSolver.Dispose();
            }

            base.Dispose(disposing);
        }
        public void Dispose()
        {
            _gjkSimplexSolver.Dispose();

            this.StandardCleanup();
        }