Ejemplo n.º 1
0
        public virtual void DestroyProxy(BroadphaseProxy proxy, IDispatcher dispatcher)
        {
            Handle handle = (Handle)proxy;

            if (m_raycastAccelerator != null)
            {
                m_raycastAccelerator.DestroyProxy(handle.m_dbvtProxy, dispatcher);
            }
            RemoveHandle((ushort)handle.GetUid(), dispatcher);
        }