From 9834fc24fb2e82d5dc3ba01d814b797a77443e05 Mon Sep 17 00:00:00 2001 From: CrazyH <87752773+CrazyH2@users.noreply.github.com> Date: Thu, 21 Mar 2024 14:53:54 +0000 Subject: [PATCH] should be good now --- src/world/scene.js | 2 +- utils/VREffect.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/world/scene.js b/src/world/scene.js index f159282..22e3cfa 100644 --- a/src/world/scene.js +++ b/src/world/scene.js @@ -21,7 +21,7 @@ class Scene { // Create a reticle var reticle = new THREE.Mesh( - new THREE.RingBufferGeometry(0.005, 0.01, 15), + new THREE.RingGeometry(0.005, 0.01, 15), new THREE.MeshBasicMaterial({ color: 0xffffff }).depthTest = false ); reticle.position.z = -0.5; diff --git a/utils/VREffect.js b/utils/VREffect.js index 797fe44..10f52d2 100644 --- a/utils/VREffect.js +++ b/utils/VREffect.js @@ -235,7 +235,7 @@ THREE.VREffect = function ( renderer, onError ) { if ( vrDisplay && scope.isPresenting ) { - var autoUpdate = scene.autoUpdate; + var autoUpdate = scene.matrixWorldAutoUpdate; if ( autoUpdate ) {