diff --git a/RayTracer/shape/Light.h b/RayTracer/shape/Light.h index 9629f4e0602f2c760f3e156a5202eca32708ffa7..88168b215535b47f2404de7d847870c728570748 100644 --- a/RayTracer/shape/Light.h +++ b/RayTracer/shape/Light.h @@ -1,9 +1,9 @@ #pragma once -#include "../camera/Ray.h" +#include "../camera/Hit.h" namespace shapes { class Light { public: - virtual cam::Ray shadowRay() const = 0; + virtual cam::Hit sampleLight() const = 0; }; } // namespace shapes \ No newline at end of file