cloudy-raytracer/light/ambientlight.h

17 lines
337 B
C
Raw Normal View History

2022-11-25 14:57:39 +01:00
#ifndef AMBIENTLIGHT_H
#define AMBIENTLIGHT_H
#include "light/light.h"
class AmbientLight : public Light {
public:
// Constructor
AmbientLight(float intensity, Color color = Color(1, 1, 1)) : Light(intensity, color) {}
// Light functions
Illumination illuminate(Scene const &scene, Ray const &ray) const override;
};
#endif