event = rtList.get( i ); far = getObjectFromEvent( event );
Object event = rtList.get( i ); Object3D far = getObjectFromEvent( event );
	protected void overlapSwap( List rtList )	{		for ( int i = 0; i < rtList.size( ); i++ )		{			Object event = rtList.get( i );			Object3D far = getObjectFromEvent( event );			if ( far.getViewerVectors( ).length < 3 )				continue;			boolean restart = true;			while ( restart )			{				restart = false;				event = rtList.get( i );				far = getObjectFromEvent( event );				for ( int j = i; j < rtList.size( ); j++ )				{					Object event2 = rtList.get( j );					Object3D near = getObjectFromEvent( event2 );					if ( near.getViewerVectors( ).length < 3 )						continue;					if ( far.testZOverlap( near ) )					{						if ( far.testSwap( near ) )						{							rtList.set( i, event2 );							rtList.set( j, event );							restart = true;							break;						}					}					else					{						continue;					}				}			}		}	}