From 34f7b4b6b7641abc89635a5fa8933172e26fd1e0 Mon Sep 17 00:00:00 2001
From: Yoel <s73017@beuth-hochschule.de>
Date: Tue, 6 Oct 2020 17:03:24 +0200
Subject: [PATCH] Added new interface for lights

---
 RayTracer/shape/Light.h | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 RayTracer/shape/Light.h

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