void Scene::buildAccelerationStructure( void ) { if ( acceleration_structure_ == Scene::AccelerationStructure::BVH_SAH ) { buildBVH(); std::clog << std::endl; } }
BVH::BVH( const BVHItems &i_items ) { buildBVH( SplitMethod::MIDDLE, i_items ); }