| 101 | } |
| 102 | |
| 103 | static PX_FORCE_INLINE float getSplittingValue(const PxBounds3& global_box, PxU32 axis) |
| 104 | { |
| 105 | // Default split value = middle of the axis (using only the box) |
| 106 | return global_box.getCenter(axis); |
| 107 | } |
| 108 | |
| 109 | static PxU32 split(const PxBounds3& box, PxU32 nb, PxU32* const PX_RESTRICT prims, PxU32 axis, const AABBTreeBuildParams& params) |
| 110 | { |