Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
v2 Directory Reference

Files

 
bbox.h
 
binned_sah_builder.h
 
bvh.h
 
default_builder.h
 
executor.h
 
index.h
 
mini_tree_builder.h
 
node.h
 
platform.h
 
ray.h
 
reinsertion_optimizer.h
 
split_heuristic.h
 
stack.h
 
stream.h
 
sweep_sah_builder.h
 
thread_pool.h
 
top_down_sah_builder.h
 
utils.h
 
vec.h

Detailed Description

These headers, providing routines to construct and navigate bounding volume hierarchies, have been copied from https://github.com/madmann91/bvh commit 66e445b92f68801a6dd8ef94.

Minor changes have been subsequently been applied to achieve compilation with C++17:

  • inclusion of alternative span, when std::span is not found
  • replacement of C++20 defaulted comparison operators with actual implementation
  • old-style struct construction for objects of type "Reinsertion"
  • use of std::inner_product instead of std::transform_reduce (gcc 8.5 had problems)

This is needed since ROOT should compile with C++17.