#include <ThingFlatShadow.h>
Inherits Thing.
Inheritance diagram for ThingFlatShadow:
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] |
Thing * | light |
Thing * | caster |
char * | colorid |
ThingTransform * | tt |
|
|
|
|
|
Reimplemented from Thing.
|
|
Reimplemented from Thing.
|
|
Reimplemented from Thing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|