Blender
V3.3
|
Public Member Functions | |
BVHReferenceCompare (int dim, const BVHUnaligned *unaligned_heuristic, const Transform *aligned_space) | |
__forceinline BoundBox | get_prim_bounds (const BVHReference &prim) const |
__forceinline int | compare (const BVHReference &ra, const BVHReference &rb) const |
bool | operator() (const BVHReference &ra, const BVHReference &rb) |
Public Attributes | |
int | dim |
const BVHUnaligned * | unaligned_heuristic |
const Transform * | aligned_space |
|
inline |
|
inline |
Definition at line 40 of file sort.cpp.
References dim, get_prim_bounds(), BoundBox::max, BoundBox::min, BVHReference::prim_index(), BVHReference::prim_object(), and BVHReference::prim_type().
Referenced by bvh_reference_sort_threaded(), and operator()().
|
inline |
Definition at line 29 of file sort.cpp.
References aligned_space, BVHReference::bounds(), BVHUnaligned::compute_aligned_prim_boundbox(), NULL, and unaligned_heuristic.
Referenced by compare().
|
inline |
const Transform* BVHReferenceCompare::aligned_space |
Definition at line 20 of file sort.cpp.
Referenced by get_prim_bounds().
const BVHUnaligned* BVHReferenceCompare::unaligned_heuristic |
Definition at line 19 of file sort.cpp.
Referenced by get_prim_bounds().