Code_TYMPAN  4.4.0
Industrial site acoustic simulation
Public Attributes | List of all members
LinearBVHNode Struct Reference
Collaboration diagram for LinearBVHNode:
Collaboration graph
[legend]

Public Attributes

BBox bounds
 
union {
   uint32_t   primitivesOffset
 leaf More...
 
   uint32_t   secondChildOffset
 interior More...
 
}; 
 
uint8_t nPrimitives
 0 -> interior node More...
 
uint8_t axis
 interior node: xyz More...
 
uint8_t pad [2]
 ensure 32 byte total size More...
 

Detailed Description

Definition at line 113 of file BvhAccelerator.cpp.

Member Data Documentation

◆ 

union { ... }

◆ axis

uint8_t LinearBVHNode::axis

interior node: xyz

Definition at line 123 of file BvhAccelerator.cpp.

◆ bounds

BBox LinearBVHNode::bounds

Definition at line 115 of file BvhAccelerator.cpp.

◆ nPrimitives

uint8_t LinearBVHNode::nPrimitives

0 -> interior node

Definition at line 122 of file BvhAccelerator.cpp.

◆ pad

uint8_t LinearBVHNode::pad[2]

ensure 32 byte total size

Definition at line 124 of file BvhAccelerator.cpp.

◆ primitivesOffset

uint32_t LinearBVHNode::primitivesOffset

leaf

Definition at line 118 of file BvhAccelerator.cpp.

◆ secondChildOffset

uint32_t LinearBVHNode::secondChildOffset

interior

Definition at line 119 of file BvhAccelerator.cpp.


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