godot/thirdparty/embree/kernels/bvh/bvh.cpp

// Copyright 2009-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0

#include "bvh.h"
#include "bvh_statistics.h"

namespace embree
{
  template<int N>
  BVHN<N>::BVHN (const PrimitiveType& primTy, Scene* scene)
    :{}

  template<int N>
  BVHN<N>::~BVHN ()
  {}

  template<int N>
  void BVHN<N>::clear()
  {}

  template<int N>
  void BVHN<N>::set (NodeRef root, const LBBox3fa& bounds, size_t numPrimitives)
  {}	

  template<int N>
  void BVHN<N>::clearBarrier(NodeRef& node)
  {}

  template<int N>
  void BVHN<N>::layoutLargeNodes(size_t num)
  {}
  
  template<int N>
  typename BVHN<N>::NodeRef BVHN<N>::layoutLargeNodesRecursion(NodeRef& node, const FastAllocator::CachedAllocator& allocator)
  {}

  template<int N>
  double BVHN<N>::preBuild(const std::string& builderName)
  {}

  template<int N>
  void BVHN<N>::postBuild(double t0)
  {}

#if defined(__AVX__)
  template class BVHN<8>;
#endif

#if !defined(__AVX__) || !defined(EMBREE_TARGET_SSE2) && !defined(EMBREE_TARGET_SSE42) || defined(__aarch64__)
  template class BVHN<4>;
#endif
}