1#include "lights/Light.hpp"
2#include "primitives/Color.hpp"
The color class.
Definition Color.hpp:18
The base lighting class.
Definition Light.hpp:17
The point light, which gets emitted from a single point in all directions.
Definition PointLight.hpp:22
double intensity
The intensity of this point light in candela (cd).
Definition PointLight.hpp:25
PointLight(Color color, double intensity)
Creates a new point light with the specified color and intensity.
Definition PointLight.hpp:33
bool isPointLight() const override
Returns whether or not this light is a point light.
Definition PointLight.hpp:45
double power() const
Returns the power of this light.
Definition PointLight.hpp:55
Color color
The color of this point light.
Definition PointLight.hpp:24
The t software 3D graphics library namespace.
Definition algorithms.hpp:12