TA159

Notas, resueltos y trabajos practicos de la materia Sistemas Gráficos
Index Commits Files Refs Submodules README LICENSE
commit 321c4976eeb37abb6384893646cac363de5f408f
parent 9630f59b0f26c50b3816e215e6317e509f78296c
Author: Martin Klöckner <mjkloeckner@gmail.com>
Date:   Wed, 26 Jun 2024 11:50:23 -0300

comment out `directionalLightHelper`

Diffstat:
Mtp/src/terrain.js | 2+-
Mtp/src/trees.js | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tp/src/terrain.js b/tp/src/terrain.js
@@ -49,7 +49,7 @@ function setupThreeJs() {
     scene.add(directionalLight);
 
     const directionalLightHelper = new THREE.DirectionalLightHelper(directionalLight, 5);
-    scene.add(directionalLightHelper);
+    // scene.add(directionalLightHelper);
 
      const gridHelper = new THREE.GridHelper(150, 150);
      scene.add(gridHelper);
diff --git a/tp/src/trees.js b/tp/src/trees.js
@@ -42,7 +42,7 @@ function setupThreeJs() {
     scene.add(directionalLight);
 
     const directionalLightHelper = new THREE.DirectionalLightHelper(directionalLight, 5);
-    scene.add(directionalLightHelper);
+    // scene.add(directionalLightHelper);
 
     //const gridHelper = new THREE.GridHelper(50, 20);
     //scene.add(gridHelper);