29#ifndef GU_BV4_PROCESS_STREAM_NOORDER_SPHERE_AABB_H
30#define GU_BV4_PROCESS_STREAM_NOORDER_SPHERE_AABB_H
32#ifdef GU_BV4_USE_SLABS
52 template<
class LeafTestT,
int i,
class ParamsT>
57 if(BV4_SphereAABBOverlap(centerV, extentsV, params))
61 if(LeafTestT::doLeafTest(params, node->getPrimitive(i)))
65 Stack[Nb++] = node->getChildData(i);
70 template<
class LeafTestT,
int i,
class ParamsT>
73 OPC_SLABS_GET_CE2NQ(i)
75 if(BV4_SphereAABBOverlap(centerV, extentsV, params))
79 if(LeafTestT::doLeafTest(params, node->getPrimitive(i)))
83 Stack[Nb++] = node->getChildData(i);
89 template<
class LeafTestT,
int i,
class ParamsT>
92 #ifdef GU_BV4_QUANTIZED_TREE
93 if(BV4_SphereAABBOverlap(node+i, params))
95 if(BV4_SphereAABBOverlap(node[i].mAABB.mCenter, node[i].mAABB.mExtents, params))
100 if(LeafTestT::doLeafTest(params, node[i].getPrimitive()))
104 Stack[Nb++] = node[i].getChildData();
#define PX_RESTRICT
Definition PxPreprocessor.h:355
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335