cocos2d-x  3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AABB Class Reference

#include <CCFrustum.h>

Public Member Functions

 AABB (const kmVec3 &min, const kmVec3 &max)
 ~AABB ()
kmVec3 getCenter () const
float getDimensionX () const
float getDimensionY () const
float getDimensionZ () const
kmVec3 getPositivePoint (const kmVec3 &direction) const
kmVec3 getNegativePoint (const kmVec3 &direction) const
const AABBexpand (const kmVec3 &point)

Protected Attributes

kmVec3 _min
kmVec3 _max

Constructor & Destructor Documentation

AABB ( const kmVec3 &  min,
const kmVec3 &  max 
)
~AABB ( )

Member Function Documentation

const AABB& expand ( const kmVec3 &  point)
kmVec3 getCenter ( ) const
float getDimensionX ( ) const
float getDimensionY ( ) const
float getDimensionZ ( ) const
kmVec3 getNegativePoint ( const kmVec3 &  direction) const
kmVec3 getPositivePoint ( const kmVec3 &  direction) const

Member Data Documentation

kmVec3 _max
protected
kmVec3 _min
protected

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