提交 fd8922a9 编写于 作者: M Mr.doob

Editor: Updated WebVR.js usage.

上级 98e5b1a0
......@@ -113,18 +113,7 @@ var APP = {
if ( renderer.vr.enabled ) {
WEBVR.checkAvailability().catch( function( message ) {
dom.appendChild( WEBVR.getMessageContainer( message ) );
} );
WEBVR.getVRDisplay( function ( device ) {
renderer.vr.setDevice( device );
dom.appendChild( WEBVR.getButton( device, renderer.domElement ) );
} );
dom.appendChild( WEBVR.createButton( renderer ) );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册