class LightList

List of lights shining to a certain point. More...

Definition#include <raytracer/lightlist.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Public Members

Private Methods


Detailed Description

List of lights shining to a certain point. Returned by LightCache lookups.

Colour3 colour

colour

LightSource* light

light

LightList* next

next

 LightList (const Colour3& c, LightSource* l, LightList* n)

LightList

 ~LightList ()

~LightList

 LightList (const LightList& l)

LightList

[private]

LightList&  operator= (const LightList&)

operator=

[private]

LightList*  merge (LightList* first, const LightList* second, DBL weight)

merge

[static]

Add the lights from the second light list to the first one. The lights' colours of the second list are weightend by weight before adding to the first one.

Parameters:
firstFirst light list. May be 0.
secondSecond light list. May be 0.