BEPUphysics.EntityStateManagement.InterpolatedStatesManager.FlipBuffers C# (CSharp) Method

FlipBuffers() public method

Acquires a lock on the FlipLocker and flips the internal buffers.
public FlipBuffers ( ) : void
return void
        public void FlipBuffers()
        {
            lock (FlipLocker)
            {
                RigidTransform[] formerFrontBuffer = states;
                states = backBuffer;
                backBuffer = formerFrontBuffer;
            }
        }