debug in search location

This commit is contained in:
Adrien MALINGREY 2023-05-30 23:49:04 +02:00
parent a29cf0154d
commit 80ed0f9b8f

View File

@ -67,8 +67,8 @@ const longitude = THREE.MathUtils.degToRad(25)
const mazeLength = 51
const mazeWidth = 51
let showGUI = window.location.hash.includes("debug")
let showStats = window.location.hash.includes("stats")
let showGUI = window.location.search.includes("debug")
let showStats = window.location.search.includes("stats")
const loadMngr = new THREE.LoadingManager();
const loader = new THREE.TextureLoader(loadMngr);
@ -311,7 +311,7 @@ function updateSun() {
} else {
sunLight.visible = false
sunLight.visible = false
torchLight.visible = true
}