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();
        }