#pragma once
#include "heuristic_binning.h"
namespace embree
{
namespace isa
{
struct PrimInfoRange : public CentGeomBBox3fa, public range<size_t>
{ … };
inline void performFallbackSplit(PrimRef* const prims, const PrimInfoRange& pinfo, PrimInfoRange& linfo, PrimInfoRange& rinfo)
{ … }
template<typename Type, typename getTypeFunc>
inline void performTypeSplit(const getTypeFunc& getType, Type type, PrimRef* const prims, range<size_t> range, PrimInfoRange& linfo, PrimInfoRange& rinfo)
{ … }
template<typename PrimRef, size_t BINS>
struct HeuristicArrayBinningSAH
{ … };
#if !defined(RTHWIF_STANDALONE)
template<typename PrimRefMB, size_t BINS>
struct HeuristicArrayBinningMB
{ … };
#endif
}
}