29#ifndef GU_BV4_PROCESS_STREAM_NOORDER_OBB_OBB_H
30#define GU_BV4_PROCESS_STREAM_NOORDER_OBB_OBB_H
32#ifdef GU_BV4_USE_SLABS
51 template<
class LeafTestT,
int i,
class ParamsT>
56 if(BV4_BoxBoxOverlap(centerV, extentsV, params))
60 if(LeafTestT::doLeafTest(params, node->getPrimitive(i)))
64 Stack[Nb++] = node->getChildData(i);
69 template<
class LeafTestT,
int i,
class ParamsT>
74 if(BV4_BoxBoxOverlap(centerV, extentsV, params))
78 if(LeafTestT::doLeafTest(params, node->getPrimitive(i)))
82 Stack[Nb++] = node->getChildData(i);
88 template<
class LeafTestT,
int i,
class ParamsT>
91 #ifdef GU_BV4_QUANTIZED_TREE
92 if(BV4_BoxBoxOverlap(node+i, params))
94 if(BV4_BoxBoxOverlap(node[i].mAABB.mExtents, node[i].mAABB.mCenter, params))
99 if(LeafTestT::doLeafTest(params, node[i].getPrimitive()))
103 Stack[Nb++] = node[i].getChildData();
#define PX_RESTRICT
Definition PxPreprocessor.h:355
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335