From 5fb2077db06e2b5eb4e4356e48d8b1d1807389c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Korbinian=20P=C3=B6ppel?= Date: Tue, 11 Jul 2023 21:29:36 +0200 Subject: [PATCH] Debug. --- src/simulation/webgl_raytracing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/webgl_raytracing.js b/src/simulation/webgl_raytracing.js index 18301119..0daeac73 100644 --- a/src/simulation/webgl_raytracing.js +++ b/src/simulation/webgl_raytracing.js @@ -210,8 +210,8 @@ export function rayTracingWebGL( normalAttributeLocation ); - let colorCodedArray; - let isShadowedArray; + var colorCodedArray = null; + var isShadowedArray = null; for (var i = 0; i < num_dates; i++) { let sunDirectionUniformLocation = gl.getUniformLocation( program,