Ball Class Reference

#include <Ball.h>

List of all members.

Public Member Functions

 Ball (void)
void Init (void)
void Render (void)
void Update_points (void)
 ~Ball (void)

Public Attributes

float speed
float speedStack
VECTOR3D position
VECTOR3D direction
VECTOR3D bl
VECTOR3D br
VECTOR3D tl
VECTOR3D tr
float size

Private Attributes

COLOR amb
COLOR dif
COLOR spec
bool visible
GLUquadricObj * sphere
GLfloat ballAmb [4]
GLfloat ballDif [4]
GLfloat ballSpec [4]
GLfloat ballShine [1]


Constructor & Destructor Documentation

Ball::Ball ( void   ) 

default constructor for the ball

Ball::~Ball ( void   ) 

ball destructor


Member Function Documentation

void Ball::Init ( void   ) 

ball initialization

void Ball::Render ( void   ) 

ball rendermethod

void Ball::Update_points ( void   ) 

updating the collision points


Member Data Documentation

float Ball::speed

float Ball::speedStack

VECTOR3D Ball::position

VECTOR3D Ball::direction

VECTOR3D Ball::bl

VECTOR3D Ball::br

VECTOR3D Ball::tl

VECTOR3D Ball::tr

float Ball::size

COLOR Ball::amb [private]

COLOR Ball::dif [private]

COLOR Ball::spec [private]

bool Ball::visible [private]

GLUquadricObj* Ball::sphere [private]

GLfloat Ball::ballAmb[4] [private]

GLfloat Ball::ballDif[4] [private]

GLfloat Ball::ballSpec[4] [private]

GLfloat Ball::ballShine[1] [private]


The documentation for this class was generated from the following files:
Generated on Thu Jul 19 19:27:42 2007 for padoix by  doxygen 1.5.1-p1