Skip to content

Commit

Permalink
Fix comment to refer to proper argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
weshoke authored and madmann91 committed Sep 10, 2024
1 parent 66e445b commit 82123ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bvh/v2/bvh.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct Bvh {

/// Traverses the BVH from the given index in `start` using the provided stack. Every leaf
/// encountered on the way is processed using the given `LeafFn` function, and every pair of
/// nodes is processed with the function in `HitFn`, which returns a triplet of booleans
/// nodes is processed with the function in `InnerFn`, which returns a triplet of booleans
/// indicating whether the first child should be processed, whether the second child should be
/// processed, and whether to traverse the second child first instead of the other way around.
template <bool IsAnyHit, typename Stack, typename LeafFn, typename InnerFn>
Expand Down

0 comments on commit 82123ac

Please sign in to comment.