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

LightingState Struct Reference

#include <rendcontext.h>

Collaboration diagram for LightingState:

Collaboration graph
List of all members.

Public Member Functions

 LightingState ()

Public Attributes

Vec3f eyeDir_obj
Point3f eyePos_obj
DirectionalLight lights [MaxLights]
unsigned int nLights
std::vector< EclipseShadow > * shadows [MaxLights]

Constructor & Destructor Documentation

LightingState::LightingState  )  [inline]
 

Definition at line 41 of file rendcontext.h.

References eyeDir_obj, eyePos_obj, and nLights.

00041                     : nLights(0),
00042                       eyeDir_obj(0.0f, 0.0f, -1.0f),
00043                       eyePos_obj(0.0f, 0.0f, -1.0f)
00044     { shadows[0] = NULL; };


Member Data Documentation

Vec3f LightingState::eyeDir_obj
 

Definition at line 50 of file rendcontext.h.

Referenced by LightingState().

Point3f LightingState::eyePos_obj
 

Definition at line 51 of file rendcontext.h.

Referenced by LightingState().

DirectionalLight LightingState::lights[MaxLights]
 

Definition at line 47 of file rendcontext.h.

Referenced by Renderer::renderPlanet().

unsigned int LightingState::nLights
 

Definition at line 44 of file rendcontext.h.

Referenced by LightingState(), and Renderer::renderPlanet().

std::vector<EclipseShadow>* LightingState::shadows[MaxLights]
 

Definition at line 48 of file rendcontext.h.

Referenced by Renderer::renderPlanet().


The documentation for this struct was generated from the following file:
Generated on Sat Jan 14 22:33:25 2006 for Celestia by  doxygen 1.4.1