| 213 | |
| 214 | template<int N> |
| 215 | __forceinline size_t pointQueryNodeSphere(const typename BVHN<N>::AABBNode* node, const TravPointQuery<N>& query, vfloat<N>& dist) |
| 216 | { |
| 217 | const vfloat<N> minX = vfloat<N>::load((float*)((const char*)&node->lower_x)); |
| 218 | const vfloat<N> minY = vfloat<N>::load((float*)((const char*)&node->lower_y)); |
| 219 | const vfloat<N> minZ = vfloat<N>::load((float*)((const char*)&node->lower_z)); |
| 220 | const vfloat<N> maxX = vfloat<N>::load((float*)((const char*)&node->upper_x)); |
| 221 | const vfloat<N> maxY = vfloat<N>::load((float*)((const char*)&node->upper_y)); |
| 222 | const vfloat<N> maxZ = vfloat<N>::load((float*)((const char*)&node->upper_z)); |
| 223 | return pointQuerySphereDistAndMask(query, dist, minX, maxX, minY, maxY, minZ, maxZ); |
| 224 | } |
| 225 | |
| 226 | template<int N> |
| 227 | __forceinline size_t pointQueryNodeSphere(const typename BVHN<N>::AABBNodeMB* node, const TravPointQuery<N>& query, const float time, vfloat<N>& dist) |
no test coverage detected