From 6d78d8c554f0ad1b01efbd7881cb9bb3ad0b3063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?arvid=20schr=C3=B6der?= Date: Thu, 10 Nov 2022 18:16:13 +0100 Subject: [PATCH] removed testing output --- renderer/simplerenderer.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/renderer/simplerenderer.cpp b/renderer/simplerenderer.cpp index 92d3136..c1258ba 100644 --- a/renderer/simplerenderer.cpp +++ b/renderer/simplerenderer.cpp @@ -21,10 +21,5 @@ Texture SimpleRenderer::renderImage(Scene const &scene, Camera const &camera, in image.setPixelAt(x, height - 1 - y, scene.traceRay(ray)); } } - for (int x = 0; x < 20; x++) { - for (int y = 0; y < 20; y++) { - image.setPixelAt(x, y, Color(0.0f, 1.0f, 0.0f)); - } - } return image; }