webvr-polyfill
Advanced tools
Comparing version 0.10.5 to 0.10.6
{ | ||
"name": "webvr-polyfill", | ||
"version": "0.10.5", | ||
"version": "0.10.6", | ||
"homepage": "https://github.com/immersive-web/webvr-polyfill", | ||
@@ -16,3 +16,3 @@ "authors": [ | ||
"chai": "^3.5.0", | ||
"jsdom": "^9.12.0", | ||
"jsdom": "^11.10.0", | ||
"localStorage": "^1.0.3", | ||
@@ -50,4 +50,4 @@ "mocha": "^3.2.0", | ||
"dependencies": { | ||
"cardboard-vr-display": "1.0.11" | ||
"cardboard-vr-display": "1.0.13" | ||
} | ||
} |
@@ -17,2 +17,25 @@ /* | ||
export default { | ||
// Optionally inject custom Viewer parameters as an option. Each item | ||
// in the array must be an object with the following properties; here is | ||
// an example of the built in CardboardV2 viewer: | ||
// | ||
// { | ||
// id: 'CardboardV2', | ||
// label: 'Cardboard I/O 2015', | ||
// fov: 60, | ||
// interLensDistance: 0.064, | ||
// baselineLensDistance: 0.035, | ||
// screenLensDistance: 0.039, | ||
// distortionCoefficients: [0.34, 0.55], | ||
// inverseCoefficients: [-0.33836704, -0.18162185, 0.862655, -1.2462051, | ||
// 1.0560602, -0.58208317, 0.21609078, -0.05444823, 0.009177956, | ||
// -9.904169E-4, 6.183535E-5, -1.6981803E-6] | ||
// } | ||
// Added in 0.10.6. | ||
ADDITIONAL_VIEWERS: [], | ||
// Select the viewer by ID. If unspecified, defaults to 'CardboardV1'. | ||
// Added in 0.10.6. | ||
DEFAULT_VIEWER: '', | ||
// Provides a CardboardVRDisplay when the native WebVR API exists on | ||
@@ -19,0 +42,0 @@ // mobile platforms that do not have a native VRDisplay. |
@@ -59,2 +59,4 @@ /* | ||
var vrDisplay = new CardboardVRDisplay({ | ||
ADDITIONAL_VIEWERS: this.config.ADDITIONAL_VIEWERS, | ||
DEFAULT_VIEWER: this.config.DEFAULT_VIEWER, | ||
MOBILE_WAKE_LOCK: this.config.MOBILE_WAKE_LOCK, | ||
@@ -61,0 +63,0 @@ DEBUG: this.config.DEBUG, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
378484
4801
+ Addedcardboard-vr-display@1.0.13(transitive)
- Removedcardboard-vr-display@1.0.11(transitive)
Updatedcardboard-vr-display@1.0.13