OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AABB Class Reference

#include <mesh.hpp>

Public Member Functions

 AABB (const vec3 &base, const vec3 &offset)
 
vec3 center () const
 
vec3 corner (unsigned int index) const
 

Public Attributes

vec4 minpos
 
vec4 maxpos
 

Private Attributes

vec3 base
 
vec3 offset
 

Detailed Description

Definition at line 39 of file mesh.hpp.

Constructor & Destructor Documentation

AABB::AABB ( const vec3 base,
const vec3 offset 
)

Definition at line 23 of file AABB.cpp.

Member Function Documentation

vec3 AABB::center ( ) const

Definition at line 29 of file AABB.cpp.

vec3 AABB::corner ( unsigned int  index) const

Definition at line 34 of file AABB.cpp.

Member Data Documentation

vec3 AABB::base
private

Definition at line 38 of file AABB.h.

vec4 AABB::maxpos

Definition at line 42 of file mesh.hpp.

vec4 AABB::minpos

Definition at line 41 of file mesh.hpp.

vec3 AABB::offset
private

Definition at line 39 of file AABB.h.


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