|
|
|
@ -112,7 +112,7 @@ async function init() { |
|
|
|
document.body.requestPointerLock(); |
|
|
|
} ); |
|
|
|
|
|
|
|
document.body.appendChild( stats.dom ); |
|
|
|
//document.body.appendChild( stats.dom );
|
|
|
|
|
|
|
|
document.addEventListener('pointerlockchange', () => { |
|
|
|
if (document.pointerLockElement === document.body) { |
|
|
|
|