Axis-aligned bounding box. More...

#include <bound.h>

Public Member Functions

auto operator[] (int i) const -> const Vec3 &
 
auto operator[] (int i) -> Vec3 &
 
auto LongestAxis () const -> int
 
auto SurfaceArea () const -> Float
 
auto Centroid () const -> Vec3
 

Public Attributes

Vec3 min = Vec3( Math::Inf())
 
Vec3 max = Vec3(-Math::Inf())
 

Detailed Description

Axis-aligned bounding box.