From abcc930246f6eeb3cc3ee7176f4dfc5abb4f3f5f Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Sun, 4 Apr 2021 23:08:17 +0200 Subject: [PATCH] wip --- src/core/Renderer.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/Renderer.js b/src/core/Renderer.js index 61af4dc..b3a812c 100644 --- a/src/core/Renderer.js +++ b/src/core/Renderer.js @@ -1,5 +1,4 @@ import { defineComponent, h } from 'vue'; -import { VRButton } from 'three/examples/jsm/webxr/VRButton.js'; import useThree from './useThree'; export default defineComponent({ @@ -47,10 +46,7 @@ export default defineComponent({ this.renderer = this.three.renderer; this.renderer.shadowMap.enabled = this.shadow; - this.pointer = this.three.pointer; - if (this.xr) { - this.renderer.domElement.parentNode.appendChild(VRButton.createButton(this.renderer)); this.renderer.xr.enabled = true; if (this.three.composer) this.renderer.setAnimationLoop(this.animateXRC); else this.renderer.setAnimationLoop(this.animateXR);