From 37fdcb8a0f435c42f737252450626f2bd38bbd0f Mon Sep 17 00:00:00 2001 From: ladevieq Date: Tue, 5 May 2026 00:50:13 +0200 Subject: Clean up around included files --- src/bvh.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/bvh.cpp') diff --git a/src/bvh.cpp b/src/bvh.cpp index 8e62a93..9362504 100644 --- a/src/bvh.cpp +++ b/src/bvh.cpp @@ -1,11 +1,5 @@ #include "bvh.hpp" -#include - -#include -#include -#include - // bvh::bvh(std::vector& spheres, std::vector& packed_nodes) // :spheres(spheres) { // packed_nodes.resize(2 * spheres.size() - 1); @@ -48,6 +42,7 @@ bvh::bvh(std::vector& triangles, std::vector& packed_nodes) :triangles(triangles) { + BEGIN_MARKER(GENERATE_BVH); assert(!triangles.empty()); packed_nodes.resize(2 * triangles.size() - 1); @@ -84,6 +79,8 @@ bvh::bvh(std::vector& triangles, std::vector& packed_ node.next_id = temp_nodes[old_node.next_id].df_id; } } + + END_MARKER(GENERATE_BVH); } //------------------------- -- cgit v1.3