Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Public Attributes | List of all members
AABB Struct Reference

Public Member Functions

LM_FORCE_INLINE AABB (const Math::Vec3 &p)
 
LM_FORCE_INLINE AABB (const Math::Vec3 &p1, const Math::Vec3 &p2)
 
LM_FORCE_INLINE bool Intersect (const AABB &b) const
 
LM_FORCE_INLINE bool Contain (const Math::Vec3 &p) const
 
LM_FORCE_INLINE Math::Float SurfaceArea () const
 
LM_FORCE_INLINE Math::Float Volume () const
 
LM_FORCE_INLINE int LongestAxis () const
 
LM_FORCE_INLINE AABB Union (const AABB &b) const
 
LM_FORCE_INLINE AABB Union (const Math::Vec3 &p) const
 
LM_FORCE_INLINE const Math::Vec3 & operator[] (int i) const
 
LM_FORCE_INLINE Math::Vec3 & operator[] (int i)
 

Public Attributes

Math::Vec3 min
 
Math::Vec3 max
 

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