| 32 | } |
| 33 | |
| 34 | bool AccelN::pointQuery (Accel::Intersectors* This_in, PointQuery* query, PointQueryContext* context) |
| 35 | { |
| 36 | bool changed = false; |
| 37 | AccelN* This = (AccelN*)This_in->ptr; |
| 38 | for (size_t i=0; i<This->accels.size(); i++) |
| 39 | if (!This->accels[i]->isEmpty()) |
| 40 | changed |= This->accels[i]->intersectors.pointQuery(query,context); |
| 41 | return changed; |
| 42 | } |
| 43 | |
| 44 | void AccelN::intersect (Accel::Intersectors* This_in, RTCRayHit& ray, RayQueryContext* context) |
| 45 | { |
no test coverage detected