コード例 #1
0
 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;
 }
コード例 #2
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;
 }
コード例 #3
0
ファイル: b2Fixture.cs プロジェクト: Cr33zz/Box2DSharp
    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;
    }
コード例 #4
0
ファイル: b2Fixture.cs プロジェクト: homocury/cocos2d-xna
 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;
 }
コード例 #5
0
ファイル: b2Fixture.cs プロジェクト: Karunp/cocos2d-xna
 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;
 }