This commit is contained in:
Karang 2021-03-22 00:26:01 +01:00
parent ebf0fa0766
commit 953835536e

View file

@ -8,7 +8,7 @@ const TWEEN = require('@tweenjs/tween.js')
async function initVR (bot, renderer, viewer) {
if (!('xr' in navigator)) return
const supported = await navigator.xr.isSessionSupported( 'immersive-vr' )
const supported = await navigator.xr.isSessionSupported('immersive-vr')
if (!supported) return
// VR