From 3c3a6daf7db53a2b20914fdd5fe3c432c304d61f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 22:14:29 +0000 Subject: [PATCH 1/2] Initial plan From 124f354a1900244d557a0fe2cda4ba6f0fe74a61 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 22:15:16 +0000 Subject: [PATCH 2/2] Fix duplicate isLeaf() definition in SphereBVH.cpp Co-authored-by: FriedricNietzsche <142739679+FriedricNietzsche@users.noreply.github.com> --- src/physics/SphereBVH.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/physics/SphereBVH.cpp b/src/physics/SphereBVH.cpp index d9e26bc2..58d6736b 100644 --- a/src/physics/SphereBVH.cpp +++ b/src/physics/SphereBVH.cpp @@ -293,12 +293,6 @@ std::unique_ptr SphereBVHNode::fromMesh(sauce::modeling::Mesh& me return buildNode(triangles, 0, triangles.size()); } -bool SphereBVHNode::isLeaf() const { - return left == nullptr && right == nullptr; -} - - - // SphereBVH SphereBVH SphereBVH::fromScene(const sauce::Scene& scene) {