internal void Init(MyFrustumCullQuery query, MyDynamicAABBTreeD renderables)
 {
     Debug.Assert(query.List.Count == 0, "List not cleared before use");
     Debug.Assert(query.IsInsideList.Count == 0, "IsInsideList not cleared before use");
     m_query = query;
     m_renderables = renderables;
 }
 internal MyCullQuery()
 {
     for (int i = 0; i < MAX_FRUSTUM_CULL_QUERY_COUNT; i++)
     {
         FrustumCullQueries[i] = new MyFrustumCullQuery();
     }
 }
Пример #3
0
 internal MyCullQuery()
 {
     for (int i = 0; i < 32; i++)
     {
         FrustumQuery[i] = new MyFrustumCullQuery();
     }
 }
Пример #4
0
 internal MyCullQuery()
 {
     for (int i = 0; i < MAX_FRUSTUM_CULL_QUERY_COUNT; i++)
     {
         FrustumCullQueries[i] = new MyFrustumCullQuery();
     }
 }
Пример #5
0
 internal void Init(MyFrustumCullQuery query, MyDynamicAABBTreeD renderables)
 {
     Debug.Assert(query.List.Count == 0, "List not cleared before use");
     Debug.Assert(query.IsInsideList.Count == 0, "IsInsideList not cleared before use");
     m_query       = query;
     m_renderables = renderables;
 }
Пример #6
0
 internal MyCullingWork(MyFrustumCullQuery query)
 {
     m_query = query;
 }
Пример #7
0
 internal void Cleanup()
 {
     m_query       = null;
     m_renderables = null;
 }
 internal void Cleanup()
 {
     m_query = null;
     m_renderables = null;
 }