Logo Search packages:      
Sourcecode: blender version File versions  Download package

void btQuantizedBvhTree::build_tree ( GIM_BVH_DATA_ARRAY &  primitive_boxes  ) 

stackless build tree

prototype functions for box tree management

Definition at line 233 of file btGImpactQuantizedBvh.cpp.

Referenced by btGImpactQuantizedBvh::buildSet().

{
      calc_quantization(primitive_boxes);
      // initialize node count to 0
      m_num_nodes = 0;
      // allocate nodes
      m_node_array.resize(primitive_boxes.size()*2);

      _build_sub_tree(primitive_boxes, 0, primitive_boxes.size());
}


Generated by  Doxygen 1.6.0   Back to index