Skip to content

Commit

Permalink
Update cuestionario.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davespser authored Dec 4, 2024
1 parent 819d556 commit efbc973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cuestionario.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sceneQuiz.add(ambientLight);

const directionalLight = new THREE.DirectionalLight(0xffffff, 1);
directionalLight.position.set(5, 5, 5); // Posición de la luz
directionalLight.target = cubeQúiz; // Hacer que apunte al cubo
directionalLight.target = cubeQuiz; // Hacer que apunte al cubo
sceneQuiz.add(directionalLight);

const hemisphereLight = new THREE.HemisphereLight(0x6495ED, 0xffcc00, 0.5); // Luz hemisférica
Expand Down

0 comments on commit efbc973

Please sign in to comment.