|
Blender V5.3
|
#include <BKE_bvh.hh>
Public Member Functions | |
| float3 | position (const Ray &ray) const |
Public Attributes | |
| float3 | normal |
| float3 | bary_coord |
| int | index |
| float | distance |
Definition at line 43 of file BKE_bvh.hh.
Definition at line 51 of file BKE_bvh.hh.
References blender::bke::bvh::Ray::direction, distance, and blender::bke::bvh::Ray::origin.
Referenced by blender::ed::sculpt_paint::SlideOperationExecutor::find_closest_ray_hit(), and blender::bke::bvh::Tree::ray_intersect().
| float3 blender::bke::bvh::RayHit::bary_coord |
Triangle barycentric coordinates of the hit.
Definition at line 47 of file BKE_bvh.hh.
Referenced by blender::bke::bvh::Tree::ray_intersect(), and blender::bke::bvh::Tree::ray_intersect_all().
| float blender::bke::bvh::RayHit::distance |
Definition at line 50 of file BKE_bvh.hh.
Referenced by position(), blender::bke::bvh::Tree::ray_intersect(), and blender::bke::bvh::Tree::ray_intersect_all().
| int blender::bke::bvh::RayHit::index |
Index of the hit element (i.e. triangle).
Definition at line 49 of file BKE_bvh.hh.
Referenced by blender::ed::sculpt_paint::SlideOperationExecutor::find_closest_ray_hit(), blender::bke::bvh::Tree::ray_intersect(), and blender::bke::bvh::Tree::ray_intersect_all().
| float3 blender::bke::bvh::RayHit::normal |
Definition at line 45 of file BKE_bvh.hh.
Referenced by blender::bke::bvh::Tree::ray_intersect(), and blender::bke::bvh::Tree::ray_intersect_all().