From c6566394ec5481b9c1c4bca148dbd75be2523565 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Tue, 24 Aug 2021 12:42:54 +0900 Subject: [PATCH] Ignore "unused" warning for gray sphere rendering --- example02_threaded_raytracing/src/rayTracer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example02_threaded_raytracing/src/rayTracer.cpp b/example02_threaded_raytracing/src/rayTracer.cpp index c11ddc1..60a1c63 100644 --- a/example02_threaded_raytracing/src/rayTracer.cpp +++ b/example02_threaded_raytracing/src/rayTracer.cpp @@ -236,7 +236,7 @@ Ex02::RT::Internal::rayToSphereVisible(glm::vec3 rayPos, glm::vec3 rayDirUnit, Ex02::RT::Image Ex02::RT::renderGraySphere(unsigned int outputWidth, unsigned int outputHeight, - unsigned int threadCount) { + unsigned int) { const glm::vec3 spherePos{0.0f, 0.0f, -2.5f}; const glm::vec3 lightPos{4.0f, 4.0f, 0.0f}; Image image(outputWidth, outputHeight);