PBRT
|
Public Member Functions | |
BVHAccel (const vector< Reference< Primitive > > &p, uint32_t maxPrims=1, const string &sm="sah") | |
BBox | WorldBound () const |
bool | CanIntersect () const |
bool | Intersect (const Ray &ray, Intersection *isect) const |
bool | IntersectP (const Ray &ray) const |
bool BVHAccel::IntersectP | ( | const Ray & | ray | ) | const [virtual] |
second child first
Implements Primitive.