debug in search location
This commit is contained in:
parent
a29cf0154d
commit
80ed0f9b8f
6
main.js
6
main.js
@ -67,8 +67,8 @@ const longitude = THREE.MathUtils.degToRad(25)
|
|||||||
const mazeLength = 51
|
const mazeLength = 51
|
||||||
const mazeWidth = 51
|
const mazeWidth = 51
|
||||||
|
|
||||||
let showGUI = window.location.hash.includes("debug")
|
let showGUI = window.location.search.includes("debug")
|
||||||
let showStats = window.location.hash.includes("stats")
|
let showStats = window.location.search.includes("stats")
|
||||||
|
|
||||||
const loadMngr = new THREE.LoadingManager();
|
const loadMngr = new THREE.LoadingManager();
|
||||||
const loader = new THREE.TextureLoader(loadMngr);
|
const loader = new THREE.TextureLoader(loadMngr);
|
||||||
@ -311,7 +311,7 @@ function updateSun() {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
sunLight.visible = false
|
sunLight.visible = false
|
||||||
torchLight.visible = true
|
torchLight.visible = true
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user