Skip to content

Remove duplicate SphereBVHNode::isLeaf() definition#234

Merged
FriedricNietzsche merged 2 commits into
191-pbr-ibl-ambient-lightingfrom
copilot/sub-pr-230-again
Mar 16, 2026
Merged

Remove duplicate SphereBVHNode::isLeaf() definition#234
FriedricNietzsche merged 2 commits into
191-pbr-ibl-ambient-lightingfrom
copilot/sub-pr-230-again

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 16, 2026

SphereBVHNode::isLeaf() was defined twice in SphereBVH.cpp (lines 246 and 296), causing a compilation error due to duplicate symbol.

Changes

  • src/physics/SphereBVH.cpp: Removed the redundant second definition of isLeaf() at line 296; the canonical definition at line 246 is retained.

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: FriedricNietzsche <142739679+FriedricNietzsche@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback on IBL ambient lighting integration Remove duplicate SphereBVHNode::isLeaf() definition Mar 16, 2026
Copilot AI requested a review from FriedricNietzsche March 16, 2026 22:17
@FriedricNietzsche FriedricNietzsche marked this pull request as ready for review March 16, 2026 22:22
@FriedricNietzsche FriedricNietzsche merged commit d7c2fd7 into 191-pbr-ibl-ambient-lighting Mar 16, 2026
@FriedricNietzsche FriedricNietzsche deleted the copilot/sub-pr-230-again branch March 16, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants