Lines Matching refs:node1
507 SIMD_FORCE_INLINE void retrieve_node1_triangle(GUINT node1)
510 m_boxset1->getNodeTriangle(node1,m_tri1);
529 SIMD_FORCE_INLINE void retrieve_node1_info(GUINT node1)
531 if(node1 == current_node1) return;
532 m_boxset1->getNodeBound(node1,m_box1);
533 node1_is_leaf = m_boxset1->isLeafNode(node1);
535 current_node1 = node1;
538 SIMD_FORCE_INLINE bool node_collision(GUINT node0 ,GUINT node1)
541 retrieve_node1_info(node1);
563 retrieve_node1_triangle(node1);
592 GUINT node1 = stack_collisions.back().m_index2;
594 if(node_collision(node0,node1)) // a collision is found
600 m_collision_pairs->push_pair(m_boxset0->getNodeData(node0),m_boxset1->getNodeData(node1));
605 stack_collisions.push_pair(node0,m_boxset1->getLeftNodeIndex(node1));
608 stack_collisions.push_pair(node0,m_boxset1->getRightNodeIndex(node1));
616 stack_collisions.push_pair(m_boxset0->getLeftNodeIndex(node0),node1);
618 stack_collisions.push_pair(m_boxset0->getRightNodeIndex(node0),node1);
624 GUINT left1 = m_boxset1->getLeftNodeIndex(node1);
625 GUINT right1 = m_boxset1->getRightNodeIndex(node1);
635 }// else if node1 is not a leaf
638 }// if(node_collision(node0,node1))