Searched refs:next_hole_hit (Results 1 – 1 of 1) sorted by relevance
241 const HoleHit* next_hole_hit = hole_isects.empty() ? nullptr : &hole_isects.front(); in filter_hits() local244 while (next_hole_hit || next_mesh_hit) { in filter_hits()245 if (next_hole_hit && next_mesh_hit) // still have hole and obj hits in filter_hits()246 is_hole = (next_hole_hit->t < next_mesh_hit->m_t); in filter_hits()248 is_hole = next_hole_hit; // one or the other ran out in filter_hits()251 is_entry = is_hole ? next_hole_hit->entry : ! next_mesh_hit->is_inside(); in filter_hits()260 out.m_t = next_hole_hit->t; in filter_hits()261 out.m_normal = next_hole_hit->normal; in filter_hits()272 if (is_hole && next_hole_hit++ == &hole_isects.back()) in filter_hits()273 next_hole_hit = nullptr; in filter_hits()