Esempio n. 1
0
        public b2BroadPhase()
        {
            m_proxyCount = 0;

            m_pairCapacity = 16;
            m_pairCount    = 0;
            m_pairBuffer   = new b2Pair[m_pairCapacity];

            m_moveCapacity = 16;
            m_moveCount    = 0;
            m_moveBuffer   = new int[m_moveCapacity];
            m_tree         = new b2DynamicTree <b2FixtureProxy>();
        }