Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

ThingFlatShadow Class Reference

#include <ThingFlatShadow.h>

Inherits Thing.

Inheritance diagram for ThingFlatShadow:

Inheritance graph
[legend]
Collaboration diagram for ThingFlatShadow:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ThingFlatShadow (Thing *light, Thing *caster, char *color)
void init ()
void finish ()
void render ()
void findplane (GLfloat plane[4], GLfloat v0[3], GLfloat v1[3], GLfloat v2[3])
void setThingTransform (Thing *ttrans)
void setLight (float pos[])

Private Member Functions

void shadowmatrix (GLfloat shadowMat[4][4], GLfloat groundplane[4], GLfloat lightpos[4])
void setLightPosition ()

Private Attributes

float baseshadow [4][4]
float lightpos [4]
float shadowPlane [4]
Thinglight
Thingcaster
charcolorid
ThingTransformtt

Constructor & Destructor Documentation

ThingFlatShadow::ThingFlatShadow Thing light,
Thing caster,
char color
 


Member Function Documentation

void ThingFlatShadow::findplane GLfloat  plane[4],
GLfloat  v0[3],
GLfloat  v1[3],
GLfloat  v2[3]
 

void ThingFlatShadow::finish  )  [virtual]
 

Reimplemented from Thing.

void ThingFlatShadow::init  )  [virtual]
 

Reimplemented from Thing.

void ThingFlatShadow::render  )  [virtual]
 

Reimplemented from Thing.

void ThingFlatShadow::setLight float  pos[]  ) 
 

void ThingFlatShadow::setLightPosition  )  [private]
 

void ThingFlatShadow::setThingTransform Thing ttrans  ) 
 

void ThingFlatShadow::shadowmatrix GLfloat  shadowMat[4][4],
GLfloat  groundplane[4],
GLfloat  lightpos[4]
[private]
 


Member Data Documentation

float ThingFlatShadow::baseshadow[4][4] [private]
 

Thing* ThingFlatShadow::caster [private]
 

char* ThingFlatShadow::colorid [private]
 

Thing* ThingFlatShadow::light [private]
 

float ThingFlatShadow::lightpos[4] [private]
 

float ThingFlatShadow::shadowPlane[4] [private]
 

ThingTransform* ThingFlatShadow::tt [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 17:42:33 2005 for Loud and Proud by doxygen 1.3.8