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

LightList Class Reference

#include <lightlist.h>

List of all members.

Public Member Functions

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

Static Public Member Functions

LightListmerge (LightList *first, const LightList *second, CLR weight)
CLR calculateLightListDifference (const LightList &l1, const LightList &l2)

Public Attributes

Colour colour
LightSourcelight
LightListnext


Detailed Description

List of lights shining to a certain point. Returned by LightCache lookups.
Author:
Micha Riser


Member Function Documentation

CLR LightList::calculateLightListDifference const LightList l1,
const LightList l2
[static]
 

Calculates a scalar value that relates to how different two light lists are.

LightList * LightList::merge LightList first,
const LightList second,
CLR  weight
[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:
first First light list. May be 0.
second Second light list. May be 0.


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 12:16:06 2005 for raytracer.kdevelop by doxygen 1.3.8