Пример #1
0
        public int CreateProxy(ref b2AABB aabb, ref b2FixtureProxy userData)
        {
            int proxyId = m_tree.CreateProxy(ref aabb, ref userData);

            ++m_proxyCount;
            BufferMove(proxyId);
            return(proxyId);
        }
Пример #2
0
        public int CreateProxy(b2AABB aabb, object userData)
        {
            int proxyId = m_tree.CreateProxy(aabb, userData);

            ++m_proxyCount;
            BufferMove(proxyId);
            return(proxyId);
        }