3 #ifndef AMBIENT_LIGHT_SOURCE_H_INCLUDED
4 #define AMBIENT_LIGHT_SOURCE_H_INCLUDED
LightSource class header file.
Ambient light in a scene.
Definition: AmbientLightSource.h:20
AmbientLightSource(const Colour &colour)
AmbientLightSource constructor.
Definition: AmbientLightSource.cpp:3
Direction getLightDirection(const Point &point) const
Direction from light source to a point.
Definition: AmbientLightSource.cpp:31
double getDistanceToLight(const Point &point) const
Distance factor for shadows from this light source.
Definition: AmbientLightSource.cpp:27
Colour getIlluminationAt(const Point &point) const
Determine how much light reaches a Point from this AmbientLightSource.
Definition: AmbientLightSource.cpp:23
~AmbientLightSource()
AmbientLightSource destructor.
Definition: AmbientLightSource.cpp:12
AmbientLightSource & operator=(const AmbientLightSource &lightSource)
AmbientLightSource assignment operator.
Definition: AmbientLightSource.cpp:16
Class to store colour information.
Definition: Colour.h:25
Class for Direction Vectors.
Definition: Direction.h:22
Abstract base class for LightSources.
Definition: LightSource.h:23
Class for Point Vectors.
Definition: Point.h:22