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

Function pointQueryNodeAABB

kernels/bvh/node_intersector1.h:326–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324
325 template<int N>
326 __forceinline size_t pointQueryNodeAABB(const typename BVHN<N>::AABBNode* node, const TravPointQuery<N>& query, vfloat<N>& dist)
327 {
328 const vfloat<N> minX = vfloat<N>::load((float*)((const char*)&node->lower_x));
329 const vfloat<N> minY = vfloat<N>::load((float*)((const char*)&node->lower_y));
330 const vfloat<N> minZ = vfloat<N>::load((float*)((const char*)&node->lower_z));
331 const vfloat<N> maxX = vfloat<N>::load((float*)((const char*)&node->upper_x));
332 const vfloat<N> maxY = vfloat<N>::load((float*)((const char*)&node->upper_y));
333 const vfloat<N> maxZ = vfloat<N>::load((float*)((const char*)&node->upper_z));
334 return pointQueryAABBDistAndMask(query, dist, minX, maxX, minY, maxY, minZ, maxZ);
335 }
336
337 template<int N>
338 __forceinline size_t pointQueryNodeAABB(const typename BVHN<N>::AABBNodeMB* node, const TravPointQuery<N>& query, const float time, vfloat<N>& dist)

Callers 8

pointQueryNodeAABBMB4DFunction · 0.85
pointQueryMethod · 0.85
pointQueryMethod · 0.85
pointQueryMethod · 0.85
pointQueryMethod · 0.85
pointQueryMethod · 0.85
pointQueryMethod · 0.85
pointQueryMethod · 0.85

Calls 4

loadFunction · 0.50
maddFunction · 0.50
movemaskFunction · 0.50

Tested by

no test coverage detected