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

LightSource Class Reference

#include <lightsource.h>

Inheritance diagram for LightSource:

TransparentTransformatable Transformatable PointLight List of all members.

Public Member Functions

 LightSource (const Vector3 &loc)
Vector3 location () const
bool operator< (const LightSource &l)
virtual LightRay shineTo (const Vector3 &to, InsideList *l) const =0
virtual Colour enlight (const CameraRay &cray, const Texture *t, InsideList *l) const =0

Detailed Description

Superclass for all light sources.
Author:
Micha Riser


Member Function Documentation

Vector3 LightSource::location  )  const [inline]
 

Returns:
location of the light source

bool LightSource::operator< const LightSource l  )  [inline]
 

Introduces order between light sources for holding them in a list. Order has no special meaning, it is just to distinguish them.


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