cloudy-raytracer/light/ambientlight.h
2022-11-21 13:30:17 +01:00

22 lines
409 B
C++

//
// Created by marcel on 21.11.22.
//
#ifndef CG1_TRACER_AMBIENTLIGHT_H
#define CG1_TRACER_AMBIENTLIGHT_H
#include "light/light.h"
class AmbientLight : public Light{
public:
AmbientLight(float intensity, Color const &color = Color(1, 1, 1));
Illumination illuminate(Scene const &scene, Ray const &ray) const override;
protected:
Vector3d direction;
};
#endif //CG1_TRACER_AMBIENTLIGHT_H