OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
/// <summary>
/// Takes a space pointer and zeros out the array we're using to hold the spaces
/// </summary>
/// <param name="pSpace"></param>
Takes a space pointer and zeros out the array we're using to hold the spaces
Takes a space pointer and zeros out the array we ' re using to hold the spaces
private void resetSpaceArrayItemToZero(IntPtr pSpace)
        {
            for (int x = 0; x < staticPrimspace.GetLength(0); x++)
            {
                for (int y = 0; y < staticPrimspace.GetLength(1); y++)
                {
                    if (staticPrimspace[x, y] == pSpace)
                        staticPrimspace[x, y] = IntPtr.Zero;
                }
            }
        }
private void resetSpaceArrayItemToZero ( IntPtr pSpace ) { for ( int x = 0 ; x < staticPrimspace . GetLength ( 0 ) ; x ++ ) { for ( int y = 0 ; y < staticPrimspace . GetLength ( 1 ) ; y ++ ) { if ( staticPrimspace [ x , y ] == pSpace ) staticPrimspace [ x , y ] = IntPtr . Zero ; } } }
Takes a space pointer and zeros out the array we're using to hold the spaces
Takes a space pointer and zeros out the array we ' re using to hold the spaces
pSpace
IntPtr
None