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

super-three

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

super-three - npm Package Compare versions

Comparing version 0.120.4 to 0.120.5

2

package.json
{
"name": "super-three",
"version": "0.120.4",
"version": "0.120.5",
"description": "JavaScript 3D library",

@@ -5,0 +5,0 @@ "main": "build/three.js",

@@ -50,2 +50,3 @@ import { ArrayCamera } from '../../cameras/ArrayCamera.js';

this.layersEnabled = false;
this.enabled = false;

@@ -193,8 +194,5 @@

if (!XRWebGLBinding || !this.layersEnabled) { return; }
layers.push(layer);
if (layers.length === 1) {
session.updateRenderState( { baseLayer: baseLayer } );
} else {
session.updateRenderState( { layers: layers } );
}
session.updateRenderState( { layers: layers } );

@@ -205,8 +203,5 @@ };

if (!XRWebGLBinding || !this.layersEnabled) { return; }
layers.splice(layers.indexOf(layer), 1);
if (layers.length === 1) {
session.updateRenderState( { baseLayer: baseLayer } );
} else {
session.updateRenderState( { layers: layers } );
}
session.updateRenderState( { layers: layers } );

@@ -247,4 +242,9 @@ };

baseLayer = new XRWebGLLayer( session, gl, layerInit );
this.addLayer( baseLayer );
if (XRWebGLBinding && this.layersEnabled) {
this.addLayer( baseLayer );
} else {
session.updateRenderState( { baseLayer: baseLayer } );
}
session.requestReferenceSpace( referenceSpaceType ).then( onRequestReferenceSpace );

@@ -251,0 +251,0 @@

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

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