Public Member Functions | |
BBox ()=default | |
BVH_ALWAYS_INLINE | BBox (const Vec< T, N > &min, const Vec< T, N > &max) |
BVH_ALWAYS_INLINE | BBox (const Vec< T, N > &point) |
BVH_ALWAYS_INLINE BBox & | extend (const BBox &other) |
BVH_ALWAYS_INLINE BBox & | extend (const Vec< T, N > &point) |
BVH_ALWAYS_INLINE Vec< T, N > | get_center () const |
BVH_ALWAYS_INLINE Vec< T, N > | get_diagonal () const |
BVH_ALWAYS_INLINE T | get_half_area () const |
Static Public Member Functions | |
static BVH_ALWAYS_INLINE constexpr BBox | make_empty () |
Public Attributes | |
Vec< T, N > | max |
Vec< T, N > | min |
#include <bvh/v2/bbox.h>
|
default |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexpr |
Vec<T, N> bvh::v2::BBox< T, N >::max |
Vec<T, N> bvh::v2::BBox< T, N >::min |