MCPcopy Create free account
hub / github.com/RenderKit/embree / pointQuery

Method pointQuery

kernels/common/acceln.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

pointQueryFunction · 0.45

Calls 2

isEmptyMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected