Exemple #1
0
 void operator()(Airspace as) {
   if (as.intersects(*ray) &&
       visitor->set_intersections(as.intersects(*loc, *vec)))
     visitor->Visit(as);
 }
Exemple #2
0
 void operator()(Airspace as) {
   if (as.intersects(*ray) &&
       visitor->set_intersections(as.Intersects(start, end)))
     visitor->Visit(as);
 }