Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
xelatihy committed Jan 11, 2024
1 parent 7e35c63 commit facb3bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/yocto/yocto_bvh.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// # Yocto/Bvh: Accelerated ray-intersection and point-overlap
//
// Yocto/Bvh provides ray-intersection and point-overlap queries accelerated
// by a two-level BVH using an internal or wrapping Embree.
// by a two-level BVH.
// Yocto/Bvh is implemented in `yocto_bvh.h` and `yocto_bvh.cpp`.
//

Expand Down Expand Up @@ -231,12 +231,12 @@ using bvh_scene [[deprecated]] = scene_bvh;
return intersect_shape_bvh(bvh, shape, ray, find_any);
}
[[deprecated]] inline scene_intersection intersect_scene(const scene_bvh& bvh,
const scene_data& scene, const ray3f& ray, bool find_any) {
const scene_data& scene, const ray3f& ray, bool find_any = false) {
return intersect_scene_bvh(bvh, scene, ray, find_any);
}
[[deprecated]] inline scene_intersection intersect_instance(
const scene_bvh& bvh, const scene_data& scene, int instance,
const ray3f& ray, bool find_any) {
const ray3f& ray, bool find_any = false) {
return intersect_instance_bvh(bvh, scene, instance, ray, find_any);
}

Expand Down

0 comments on commit facb3bd

Please sign in to comment.