BEPUphysics.Threading.ThreadTaskManager.DoLoopSection C# (CSharp) Méthode

DoLoopSection() private static méthode

private static DoLoopSection ( object o ) : void
o object
Résultat void
        private static void DoLoopSection(object o)
        {
            var data = o as LoopSection;
            int finalIndex = (data.iterationCount * (data.Index + 1)) / data.Subdivisions;
            for (int i = (data.iterationCount * data.Index) / data.Subdivisions; i < finalIndex; i++)
            {
                //do stuff
                data.loopBody(i);
            }
        }