|
Blender V5.3
|
Classes | |
| struct | ClosestPointResult |
| struct | MeshFallbackTree |
| struct | Ray |
| struct | RayHit |
| class | Tree |
Functions | |
| static BVHTreeFromMesh * | fallback_mesh_data (const Tree::FallbackTree &fallback_tree) |
|
static |
The BVH callbacks take a mutable void * user-data pointer even though they only read from it. The tree data is logically const here, so casting away const is safe.
Definition at line 317 of file bvh.cc.
References blender::bke::bvh::MeshFallbackTree::bvh_from_mesh, and fallback_mesh_data().
Referenced by blender::bke::bvh::Tree::closest_point(), fallback_mesh_data(), blender::bke::bvh::Tree::range_query(), blender::bke::bvh::Tree::ray_intersect(), and blender::bke::bvh::Tree::ray_intersect_all().