@@ -572,7 +572,7 @@ namespace geode
572572 }
573573
574574 template < typename BOX_FILTER, typename ACTION >
575- bool generic_intersect_recursive ( BOX_FILTER& boxFilter ,
575+ bool generic_intersect_recursive ( BOX_FILTER& box_filter ,
576576 index_t node_index,
577577 index_t element_begin,
578578 index_t element_end,
@@ -585,7 +585,7 @@ namespace geode
585585 " No iteration allowed start == end" );
586586
587587 // Prune sub-tree that does not have intersection
588- if ( !boxFilter ( node ( node_index ) ) )
588+ if ( !box_filter ( node ( node_index ) ) )
589589 {
590590 return false ;
591591 }
@@ -599,19 +599,19 @@ namespace geode
599599 node_index, element_begin, element_end );
600600 if ( depth > async_depth_ )
601601 {
602- if ( generic_intersect_recursive ( boxFilter , it.child_left ,
602+ if ( generic_intersect_recursive ( box_filter , it.child_left ,
603603 element_begin, it.element_middle , depth + 1 , action ) )
604604 {
605605 return true ;
606606 }
607- return generic_intersect_recursive ( boxFilter , it.child_right ,
607+ return generic_intersect_recursive ( box_filter , it.child_right ,
608608 it.element_middle , element_end, depth + 1 , action );
609609 }
610610 auto task = async::local_spawn ( [&] {
611- return generic_intersect_recursive ( boxFilter , it.child_left ,
611+ return generic_intersect_recursive ( box_filter , it.child_left ,
612612 element_begin, it.element_middle , depth + 1 , action );
613613 } );
614- if ( generic_intersect_recursive ( boxFilter , it.child_right ,
614+ if ( generic_intersect_recursive ( box_filter , it.child_right ,
615615 it.element_middle , element_end, depth + 1 , action ) )
616616 {
617617 return true ;
@@ -781,14 +781,14 @@ namespace geode
781781 template < index_t dimension >
782782 template < class EvalBox , class EvalIntersection >
783783 void AABBTree< dimension >::compute_generic_element_bbox_intersections(
784- EvalBox& boxFilter , EvalIntersection& action ) const
784+ EvalBox& box_filter , EvalIntersection& action ) const
785785 {
786786 if ( nb_bboxes () == 0 )
787787 {
788788 return ;
789789 }
790790 impl_->generic_intersect_recursive (
791- boxFilter , Impl::ROOT_INDEX, 0 , nb_bboxes (), 0 , action );
791+ box_filter , Impl::ROOT_INDEX, 0 , nb_bboxes (), 0 , action );
792792 }
793793
794794 template < index_t dimension >
0 commit comments