| 
    KiCad PCB EDA Suite
    
   | 
 
#include <bvh_pbrt.h>
Public Attributes | ||
| BBOX_3D | bounds | |
| union { | ||
| int primitivesOffset | ||
| leaf  More... | ||
| int secondChildOffset | ||
| interior  More... | ||
| }; | ||
| uint16_t | nPrimitives | |
| 0 -> interior node   | ||
| uint8_t | axis | |
| interior node: xyz   | ||
| uint8_t | pad [1] | |
| ensure 32 byte total size   | ||
Definition at line 82 of file bvh_pbrt.h.
| union { ... } LinearBVHNode | 
| uint8_t LinearBVHNode::axis | 
interior node: xyz
Definition at line 96 of file bvh_pbrt.h.
Referenced by BVH_PBRT::flattenBVHTree(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), and BVH_PBRT::IntersectP().
| BBOX_3D LinearBVHNode::bounds | 
Definition at line 85 of file bvh_pbrt.h.
Referenced by BVH_PBRT::flattenBVHTree(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), and BVH_PBRT::IntersectP().
| uint16_t LinearBVHNode::nPrimitives | 
0 -> interior node
Definition at line 95 of file bvh_pbrt.h.
Referenced by BVH_PBRT::flattenBVHTree(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), and BVH_PBRT::IntersectP().
| uint8_t LinearBVHNode::pad[1] | 
ensure 32 byte total size
Definition at line 97 of file bvh_pbrt.h.
| int LinearBVHNode::primitivesOffset | 
leaf
Definition at line 90 of file bvh_pbrt.h.
Referenced by BVH_PBRT::flattenBVHTree(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), and BVH_PBRT::IntersectP().
| int LinearBVHNode::secondChildOffset | 
interior
Definition at line 91 of file bvh_pbrt.h.
Referenced by BVH_PBRT::flattenBVHTree(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), and BVH_PBRT::IntersectP().