Skip to content

Commit b0f3cef

Browse files
author
Avaer Kazmer
committed
Patch dead file removals
1 parent f56177c commit b0f3cef

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

src/VR.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import THREE from '../lib/three-min.js';
88
nativeOculusMobileVr,
99
nativeMl,
1010
} = require('./native-bindings.js'); */
11-
import {defaultEyeSeparation, maxNumTrackers} from './constants.js';
1211
import GlobalContext from './GlobalContext.js';
1312

1413
const localVector = new THREE.Vector3();

src/Window.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import {
1919
getGamepads,
2020
} from './VR.js';
2121

22-
import {maxNumTrackers} from './constants.js';
2322
import GlobalContext from './GlobalContext.js';
2423
import symbols from './symbols.js';
2524

src/XR.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import GlobalContext from './GlobalContext.js';
22
import THREE from '../lib/three-min.js';
33
import symbols from './symbols.js';
4-
// import {maxNumTrackers} from './constants.js';
54
import utils from './utils.js';
65
const {_elementGetter, _elementSetter} = utils;
76

src/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import './webxr-polyfill.module.js';
33
import core from './core.js';
44
// import minimist from '../modules/minimist.js';
55

6-
import {defaultEyeSeparation/*, maxNumTrackers*/} from './constants.js';
76
import symbols from './symbols.js';
87
import THREE from '../lib/three-min.js';
98

@@ -82,9 +81,9 @@ const xrState = (() => {
8281
result.rightProjectionMatrix = _makeTypedArray(Float32Array, 16);
8382
result.rightProjectionMatrix.set(result.leftProjectionMatrix);
8483
result.leftOffset = _makeTypedArray(Float32Array, 3);
85-
result.leftOffset.set(Float32Array.from([-defaultEyeSeparation/2, 0, 0]));
84+
result.leftOffset.set(Float32Array.from([-0.625/2, 0, 0]));
8685
result.rightOffset = _makeTypedArray(Float32Array, 3);
87-
result.leftOffset.set(Float32Array.from([defaultEyeSeparation/2, 0, 0]));
86+
result.leftOffset.set(Float32Array.from([0.625/2, 0, 0]));
8887
result.leftFov = _makeTypedArray(Float32Array, 4);
8988
result.leftFov.set(Float32Array.from([45, 45, 45, 45]));
9089
result.rightFov = _makeTypedArray(Float32Array, 4);

0 commit comments

Comments
 (0)