Nori  23
BVH::BVHNode Struct Reference
Collaboration diagram for BVH::BVHNode:

Public Member Functions

bool isLeaf () const
 
bool isInner () const
 
bool isUnused () const
 
uint32_t start () const
 
uint32_t end () const
 

Public Attributes

union {
   struct {
      unsigned   flag: 1
 
      uint32_t   size: 31
 
      uint32_t   start
 
   }   leaf
 
   struct {
      unsigned   flag: 1
 
      uint32_t   axis: 31
 
      uint32_t   rightChild
 
   }   inner
 
   uint64_t   data
 
}; 
 
BoundingBox3f bbox
 

Detailed Description

Definition at line 127 of file bvh.h.


The documentation for this struct was generated from the following file: