1.3.72
 
Loading...
Searching...
No Matches
helios::AABB Struct Reference

Axis-aligned bounding box. More...

#include <BVHBuilder.h>

Public Member Functions

void expand (const AABB &other)
 Expand AABB to include another AABB.
 
float surfaceArea () const
 Compute surface area.
 
helios::vec3 centroid () const
 Get centroid.
 

Data Fields

helios::vec3 min
 
helios::vec3 max
 

Detailed Description

Axis-aligned bounding box.

Definition at line 88 of file BVHBuilder.h.

Member Function Documentation

◆ centroid()

helios::vec3 helios::AABB::centroid ( ) const
inline

Get centroid.

Definition at line 115 of file BVHBuilder.h.

◆ expand()

void helios::AABB::expand ( const AABB other)
inline

Expand AABB to include another AABB.

Definition at line 95 of file BVHBuilder.h.

◆ surfaceArea()

float helios::AABB::surfaceArea ( ) const
inline

Compute surface area.

Definition at line 107 of file BVHBuilder.h.

Field Documentation

◆ max

helios::vec3 helios::AABB::max

Definition at line 90 of file BVHBuilder.h.

◆ min

helios::vec3 helios::AABB::min

Definition at line 89 of file BVHBuilder.h.


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