|
@@ -47,7 +47,7 @@ var WEBVR = {
|
|
session.addEventListener( 'end', onSessionEnded );
|
|
session.addEventListener( 'end', onSessionEnded );
|
|
|
|
|
|
renderer.vr.setSession( session );
|
|
renderer.vr.setSession( session );
|
|
- button.textContent = 'EXIT VR';
|
|
|
|
|
|
+ button.textContent = 'EXIT XR';
|
|
|
|
|
|
currentSession = session;
|
|
currentSession = session;
|
|
|
|
|
|
@@ -58,7 +58,7 @@ var WEBVR = {
|
|
currentSession.removeEventListener( 'end', onSessionEnded );
|
|
currentSession.removeEventListener( 'end', onSessionEnded );
|
|
|
|
|
|
renderer.vr.setSession( null );
|
|
renderer.vr.setSession( null );
|
|
- button.textContent = 'ENTER VR';
|
|
|
|
|
|
+ button.textContent = 'ENTER XR';
|
|
|
|
|
|
currentSession = null;
|
|
currentSession = null;
|
|
|
|
|
|
@@ -72,7 +72,7 @@ var WEBVR = {
|
|
button.style.left = 'calc(50% - 50px)';
|
|
button.style.left = 'calc(50% - 50px)';
|
|
button.style.width = '100px';
|
|
button.style.width = '100px';
|
|
|
|
|
|
- button.textContent = 'ENTER VR';
|
|
|
|
|
|
+ button.textContent = 'ENTER XR';
|
|
|
|
|
|
button.onmouseenter = function () { button.style.opacity = '1.0'; };
|
|
button.onmouseenter = function () { button.style.opacity = '1.0'; };
|
|
button.onmouseleave = function () { button.style.opacity = '0.5'; };
|
|
button.onmouseleave = function () { button.style.opacity = '0.5'; };
|