29#ifndef GU_BV4_PROCESS_STREAM_ORDERED_OBB_OBB_H
30#define GU_BV4_PROCESS_STREAM_ORDERED_OBB_OBB_H
32#ifdef GU_BV4_USE_SLABS
47 template<
class LeafTestT,
int i,
class ParamsT>
52 if(BV4_BoxBoxOverlap(centerV, extentsV, params))
55 LeafTestT::doLeafTest(params, node->getPrimitive(i));
61 template<
class LeafTestT,
int i,
class ParamsT>
66 if(BV4_BoxBoxOverlap(centerV, extentsV, params))
69 LeafTestT::doLeafTest(params, node->getPrimitive(i));
76 template<
class LeafTestT,
class ParamsT>
79 #ifdef GU_BV4_QUANTIZED_TREE
80 if(i<limit && BV4_BoxBoxOverlap(node+i, params))
82 if(i<limit && BV4_BoxBoxOverlap(node[i].mAABB.mExtents, node[i].mAABB.mCenter, params))
86 LeafTestT::doLeafTest(params, node[i].getPrimitive());
88 Stack[Nb++] = node[i].getChildData();
92 template<
class LeafTestT,
int i,
class ParamsT>
95 #ifdef GU_BV4_QUANTIZED_TREE
96 if(BV4_BoxBoxOverlap(node+i, params))
98 if(BV4_BoxBoxOverlap(node[i].mAABB.mExtents, node[i].mAABB.mCenter, params))
102 LeafTestT::doLeafTest(params, node[i].getPrimitive());
#define PX_RESTRICT
Definition PxPreprocessor.h:355
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335