Blender V2.61 - r43446
|
Public Member Functions | |
BVHReferenceCompare (int dim_) | |
bool | operator() (const BVHBuild::Reference &ra, const BVHBuild::Reference &rb) |
Public Attributes | |
int | dim |
Definition at line 26 of file bvh_sort.cpp.
BVHReferenceCompare::BVHReferenceCompare | ( | int | dim_ | ) | [inline] |
Definition at line 30 of file bvh_sort.cpp.
References dim.
bool BVHReferenceCompare::operator() | ( | const BVHBuild::Reference & | ra, |
const BVHBuild::Reference & | rb | ||
) | [inline] |
Definition at line 35 of file bvh_sort.cpp.
References BVHBuild::Reference::bounds, dim, BoundBox::max, BoundBox::min, BVHBuild::Reference::prim_index, and BVHBuild::Reference::prim_object.
Definition at line 28 of file bvh_sort.cpp.
Referenced by BVHReferenceCompare(), and operator()().