Track::LightSettings Struct Reference

A light that illuminates the track and cars on it. More...

#include <Lighting.h>

List of all members.

Public Member Functions

 LightSettings ()
 LightSettings (std::istream &in)
bool operator== (const LightSettings &other) const

Public Attributes

float position [4]
 Global xyzw position of light.
float colour [4]
 RGBA colour of the light.


Detailed Description

A light that illuminates the track and cars on it.

Configure these through Track::Lighting.

Definition at line 25 of file Lighting.h.


Constructor & Destructor Documentation

Track::LightSettings::LightSettings (  ) 

Definition at line 69 of file Lighting.cpp.

Track::LightSettings::LightSettings ( std::istream &  in  ) 

Definition at line 73 of file Lighting.cpp.


Member Function Documentation

bool Track::LightSettings::operator== ( const LightSettings other  )  const

Definition at line 83 of file Lighting.cpp.


Member Data Documentation

float Track::LightSettings::colour[4]

RGBA colour of the light.

Definition at line 34 of file Lighting.h.

float Track::LightSettings::position[4]

Global xyzw position of light.

w=0 sets the light infinetly far away.

Definition at line 32 of file Lighting.h.


The documentation for this struct was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.