|
@@ -4,8 +4,8 @@
|
|
|
<title>three.js webvr - cubes</title>
|
|
|
<meta charset="utf-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
|
- <!-- Origin Trial Token, feature = WebVR (For Chrome M59+), origin = https://threejs.org, expires = 2017-11-14 -->
|
|
|
- <meta http-equiv="origin-trial" data-feature="WebVR (For Chrome M59+)" data-expires="2017-11-14" content="ArBMPtmfrwfw86hMJs4EG/pLjENp0J9EhNnzQVrHeXXMYSDNM/FPZEwZ1etrwiLAW4kNVrzXz5J7OBtFGNhVgQ0AAABNeyJvcmlnaW4iOiJodHRwczovL3RocmVlanMub3JnOjQ0MyIsImZlYXR1cmUiOiJXZWJWUjEuMSIsImV4cGlyeSI6MTUxMDYxNzYwMH0=">
|
|
|
+ <!-- Origin Trial Token, feature = WebVR (For Chrome M62+), origin = https://threejs.org, expires = 2017-12-16 -->
|
|
|
+ <meta http-equiv="origin-trial" data-feature="WebVR (For Chrome M62+)" data-expires="2017-12-16" content="AvEXeg7kY84HQ60ApBlqf6zPqClJwEy499YltannXHd+qIIN8ibQQFbHDkKL/Na/L7ha4VOqsjsGHhFpI6HYfgAAAABQeyJvcmlnaW4iOiJodHRwczovL3RocmVlanMub3JnOjQ0MyIsImZlYXR1cmUiOiJXZWJWUjEuMU02MiIsImV4cGlyeSI6MTUxMzQ0NjE5Nn0=">
|
|
|
<style>
|
|
|
body {
|
|
|
font-family: Monospace;
|
|
@@ -129,9 +129,9 @@
|
|
|
|
|
|
window.addEventListener( 'vrdisplaypointerrestricted', onPointerRestricted, false );
|
|
|
window.addEventListener( 'vrdisplaypointerunrestricted', onPointerUnrestricted, false );
|
|
|
-
|
|
|
+
|
|
|
document.body.appendChild( WEBVR.createButton( renderer ) );
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
|
|
|
function onMouseDown() {
|