Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
TAABB< T > Class Template Reference
Inheritance diagram for TAABB< T >:
[legend]
Collaboration diagram for TAABB< T >:
[legend]

Public Member Functions

 TAABB (const glm::detail::tvec3< T > &llf, const glm::detail::tvec3< T > &urb)
 
template<typename OtherT >
 TAABB (const TAABB< OtherT > &other)
 
const glm::detail::tvec3< T > & llf () const
 
void setLLF (const glm::detail::tvec3< T > &llf)
 
const glm::detail::tvec3< T > & urb () const
 
void setURB (const glm::detail::tvec3< T > &urb)
 
axisMin (Axis axis) const
 
axisMax (Axis axis) const
 
glm::detail::tvec3< T > middle () const
 
virtual T extent (Axis axis) const
 
diameter () const
 
TAABB< T > moved (Axis axis, T delta) const
 
TAABB< T > moved (const glm::detail::tvec3< T > &delta) const
 
void move (Axis axis, T delta)
 
void move (const glm::detail::tvec3< T > &delta)
 
void expand (Axis axis, T delta)
 
TAABB< T > expanded (Axis axis, T delta) const
 
template<typename OtherT >
bool intersects (const TAABB< OtherT > &other) const
 
bool contains (const TAABB< T > &other) const
 
template<typename OtherT >
bool contains (const glm::detail::tvec3< OtherT > &vec) const
 
virtual bool intersects (const Sphere &sphere) const override
 
virtual bool nearTo (const TAABB< int > &other) const override
 
virtual bool containedBy (const TAABB< int > &other) const override
 
TAABB< T > united (const TAABB< T > &other) const
 
void unite (const TAABB< T > &other)
 
std::list< TAABB< T > > split (Axis axis) const
 
void split (TAABB< T > &a, TAABB< T > &b, Axis axis) const
 
std::list< TAABB< T > > recursiveSplit (int recursions, Axis axis) const
 
bool operator== (const TAABB< T > &other) const
 
void extend (const glm::detail::tvec3< T > &point)
 

Static Public Member Functions

static TAABB< float > containing (const Sphere &sphere)
 

Protected Attributes

glm::detail::tvec3< T > m_llf
 
glm::detail::tvec3< T > m_urb
 

The documentation for this class was generated from the following files: