#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 |
Definition at line 12 of file PointLight.h.
|
Definition at line 7 of file PointLight.cc. |
|
Definition at line 12 of file PointLight.cc. |
|
Implements Light. Definition at line 20 of file PointLight.cc. References Vector::normalize(). |
|
Reimplemented from Light. Definition at line 16 of file PointLight.cc. |