KiCad PCB EDA Suite
Loading...
Searching...
No Matches
BVHPrimitiveInfo Struct Reference

Public Member Functions

 BVHPrimitiveInfo ()
 
 BVHPrimitiveInfo (int aPrimitiveNumber, const BBOX_3D &aBounds)
 

Public Attributes

int primitiveNumber
 
BBOX_3D bounds
 
SFVEC3F centroid
 

Detailed Description

Definition at line 86 of file bvh_pbrt.cpp.

Constructor & Destructor Documentation

◆ BVHPrimitiveInfo() [1/2]

BVHPrimitiveInfo::BVHPrimitiveInfo ( )
inline

Definition at line 88 of file bvh_pbrt.cpp.

References bounds, centroid, primitiveNumber, and BBOX_3D::Reset().

◆ BVHPrimitiveInfo() [2/2]

BVHPrimitiveInfo::BVHPrimitiveInfo ( int  aPrimitiveNumber,
const BBOX_3D aBounds 
)
inline

Definition at line 95 of file bvh_pbrt.cpp.

Member Data Documentation

◆ bounds

BBOX_3D BVHPrimitiveInfo::bounds

Definition at line 101 of file bvh_pbrt.cpp.

Referenced by BVHPrimitiveInfo().

◆ centroid

SFVEC3F BVHPrimitiveInfo::centroid

◆ primitiveNumber

int BVHPrimitiveInfo::primitiveNumber

Definition at line 100 of file bvh_pbrt.cpp.

Referenced by BVHPrimitiveInfo().


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