Skip to content

Commit

Permalink
Merge pull request #134 from jbikker/main
Browse files Browse the repository at this point in the history
Sync main to dev
  • Loading branch information
jbikker authored Mar 2, 2025
2 parents aca863f + e65dfd6 commit f9cd6ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tiny_bvh.h
Original file line number Diff line number Diff line change
Expand Up @@ -4223,6 +4223,7 @@ BVH8_CPU::~BVH8_CPU()
{
if (!ownBVH8) bvh8 = MBVH<8>(); // clear out pointers we don't own.
AlignedFree( bvh8Node );
AlignedFree( bvh8Leaf );
}

void BVH8_CPU::Build( const bvhvec4* vertices, const uint32_t primCount )
Expand Down Expand Up @@ -7924,4 +7925,4 @@ void BVH_Verbose::MergeSubtree( const uint32_t nodeIdx, uint32_t* newIdx, uint32
#pragma GCC diagnostic pop
#endif

#endif // TINYBVH_IMPLEMENTATION
#endif // TINYBVH_IMPLEMENTATION

0 comments on commit f9cd6ac

Please sign in to comment.