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

#include <mesh.hpp>

Public Member Functions

 BoundingSphere (vec3 center, vec3 radius)
 
bool test_frustum (const vec4 *frustum) const
 

Public Attributes

vec4 center
 
float radius
 

Detailed Description

Definition at line 197 of file mesh.hpp.

Constructor & Destructor Documentation

BoundingSphere::BoundingSphere ( vec3  center,
vec3  radius 
)
inline

Definition at line 199 of file mesh.hpp.

Member Function Documentation

bool BoundingSphere::test_frustum ( const vec4 frustum) const

Definition at line 44 of file mesh.cpp.

Member Data Documentation

vec4 BoundingSphere::center

Definition at line 207 of file mesh.hpp.

float BoundingSphere::radius

Definition at line 208 of file mesh.hpp.


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