public virtual void DestroyProxies(b2BroadPhase broadPhase) { // Destroy proxies in the broad-phase. for (int i = 0; i < m_proxyCount; ++i) { broadPhase.DestroyProxy(m_proxies[i].proxyId); m_proxies[i].proxyId = b2BroadPhase.e_nullProxy; } m_proxyCount = 0; }
public virtual void DestroyProxies(b2BroadPhase broadPhase) { // Destroy proxies in the broad-phase. for (int i = 0; i < m_proxyCount; ++i) { b2FixtureProxy proxy = m_proxies[i]; broadPhase.DestroyProxy(proxy.proxyId); proxy.proxyId = b2BroadPhase.e_nullProxy; } m_proxies.Clear(); m_proxyCount = 0; }
internal void DestroyProxies(b2BroadPhase broadPhase) { // Destroy proxies in the broad-phase. for (int i = 0; i < m_proxyCount; ++i) { b2FixtureProxy proxy = m_proxies[i]; broadPhase.DestroyProxy(proxy.proxyId); proxy.proxyId = (int)b2BroadPhase.AnonymousEnum.e_nullProxy; } m_proxyCount = 0; }
public virtual void DestroyProxies(b2BroadPhase broadPhase) { // Destroy proxies in the broad-phase. for (int i = 0; i < m_proxyCount; ++i) { b2FixtureProxy proxy = m_proxies[i]; broadPhase.DestroyProxy(proxy.proxyId); proxy.proxyId = b2BroadPhase.e_nullProxy; m_proxies[i] = proxy; } m_proxies.Clear(); m_proxyCount = 0; }