From 5e373e8e299e7b95576648779ac5fc91b6b28b16 Mon Sep 17 00:00:00 2001 From: Yoel <s73017@beuth-hochschule.de> Date: Tue, 6 Oct 2020 17:06:02 +0200 Subject: [PATCH] Light interface correction --- RayTracer/shape/Light.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RayTracer/shape/Light.h b/RayTracer/shape/Light.h index 9629f4e..88168b2 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 -- GitLab