Skip to content

Commit

Permalink
should be good now
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyH2 committed Mar 21, 2024
1 parent 1cfd1a0 commit 9834fc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/world/scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion utils/VREffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ THREE.VREffect = function ( renderer, onError ) {

if ( vrDisplay && scope.isPresenting ) {

var autoUpdate = scene.autoUpdate;
var autoUpdate = scene.matrixWorldAutoUpdate;

if ( autoUpdate ) {

Expand Down

0 comments on commit 9834fc2

Please sign in to comment.