PointLight Class Reference

#include <PointLight.h>

Inherits Light.


Public Member Functions

 PointLight (const Point &position, const Color &color)
virtual ~PointLight ()
virtual void preprocess ()
virtual double getLight (Color &light_color, Vector &light_direction, const RenderContext &context, const Point &pos) const


Detailed Description

Definition at line 12 of file PointLight.h.


Constructor & Destructor Documentation

PointLight const Point &  position,
const Color color
 

Definition at line 7 of file PointLight.cc.

~PointLight  )  [virtual]
 

Definition at line 12 of file PointLight.cc.


Member Function Documentation

double getLight Color light_color,
Vector light_direction,
const RenderContext context,
const Point &  pos
const [virtual]
 

Implements Light.

Definition at line 20 of file PointLight.cc.

References Vector::normalize().

void preprocess  )  [virtual]
 

Reimplemented from Light.

Definition at line 16 of file PointLight.cc.


The documentation for this class was generated from the following files:
Generated on Tue Jan 29 21:34:56 2008 for specter by  doxygen 1.4.6