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