cocos2d-x  3.0Beta0
 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 
var AABB ( var  min,
var  max 
~AABB ( )
var ~AABB ( )

Member Function Documentation

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

Member Data Documentation

kmVec3 _max
var _max
kmVec3 _min
var _min

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