Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webvr-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webvr-polyfill - npm Package Compare versions

Comparing version 0.9.19 to 0.9.20

2

package.json
{
"name": "webvr-polyfill",
"version": "0.9.19",
"version": "0.9.20",
"homepage": "https://github.com/borismus/webvr-polyfill",

@@ -5,0 +5,0 @@ "authors": [

@@ -16,5 +16,2 @@ /*

/**
* TODO: Fix up all "new THREE" instantiations to improve performance.
*/
var SensorSample = require('./sensor-sample.js');

@@ -48,5 +45,10 @@ var MathUtil = require('../math-util.js');

// Set the quaternion to be looking in the -z direction by default.
this.filterQ = new MathUtil.Quaternion(1, 0, 0, 1);
// Set default look direction to be in the correct direction.
if (Util.isIOS()) {
this.filterQ = new MathUtil.Quaternion(-1, 0, 0, 1);
} else {
this.filterQ = new MathUtil.Quaternion(1, 0, 0, 1);
}
this.previousFilterQ = new MathUtil.Quaternion();
this.previousFilterQ.copy(this.filterQ);

@@ -53,0 +55,0 @@ // Orientation based on the accelerometer.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc