提交 63f11a73 编写于 作者: T Takahiro

Clean up WebVR.js

上级 38b6551c
...@@ -177,11 +177,17 @@ THREE.WEBVR = { ...@@ -177,11 +177,17 @@ THREE.WEBVR = {
stylizeElement( button ); stylizeElement( button );
navigator.xr.isSessionSupported( 'immersive-vr' ).then( funciton ( supported ) { navigator.xr.isSessionSupported( 'immersive-vr' ).then( funciton ( supported ) {
if ( supported ) { if ( supported ) {
showEnterXR(); showEnterXR();
} else { } else {
showXRNotFound(); showXRNotFound();
} }
} ); } );
return button; return button;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册