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

@shapediver/viewer.rendering-engine.light-engine

Package Overview
Dependencies
Maintainers
5
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/viewer.rendering-engine.light-engine - npm Package Compare versions

Comparing version 2.7.10 to 2.8.0

3

dist/implementation/AbstractLight.js

@@ -18,3 +18,2 @@ "use strict";

const viewer_shared_node_tree_1 = require("@shapediver/viewer.shared.node-tree");
const tsyringe_1 = require("tsyringe");
class AbstractLight extends viewer_shared_node_tree_1.AbstractTreeNodeData {

@@ -32,3 +31,3 @@ // #endregion Properties (6)

_AbstractLight_useNodeData.set(this, false);
this._uuidGenerator = tsyringe_1.container.resolve(viewer_shared_services_1.UuidGenerator);
this._uuidGenerator = viewer_shared_services_1.UuidGenerator.instance;
__classPrivateFieldSet(this, _AbstractLight_color, properties.color, "f");

@@ -35,0 +34,0 @@ __classPrivateFieldSet(this, _AbstractLight_intensity, properties.intensity, "f");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LightEngine = void 0;
const tsyringe_1 = require("tsyringe");
const gl_matrix_1 = require("gl-matrix");

@@ -21,6 +20,6 @@ const viewer_shared_services_1 = require("@shapediver/viewer.shared.services");

// #region Properties (6)
this._converter = tsyringe_1.container.resolve(viewer_shared_services_1.Converter);
this._converter = viewer_shared_services_1.Converter.instance;
this._lightNode = new viewer_shared_node_tree_1.TreeNode('lights');
this._tree = tsyringe_1.container.resolve(viewer_shared_node_tree_1.Tree);
this._uuidGenerator = tsyringe_1.container.resolve(viewer_shared_services_1.UuidGenerator);
this._tree = viewer_shared_node_tree_1.Tree.instance;
this._uuidGenerator = viewer_shared_services_1.UuidGenerator.instance;
this._lightScenes = {};

@@ -27,0 +26,0 @@ this._tree.root.addChild(this._lightNode);

{
"name": "@shapediver/viewer.rendering-engine.light-engine",
"version": "2.7.10",
"version": "2.8.0",
"description": "",

@@ -42,11 +42,10 @@ "keywords": [],

"dependencies": {
"@shapediver/viewer.rendering-engine.rendering-engine": "2.7.10",
"@shapediver/viewer.rendering-engine.rendering-engine": "2.8.0",
"@shapediver/viewer.settings": "0.3.0",
"@shapediver/viewer.shared.node-tree": "2.7.10",
"@shapediver/viewer.shared.services": "2.7.10",
"@shapediver/viewer.shared.types": "2.7.10",
"gl-matrix": "3.3.0",
"tsyringe": "^4.5.0"
"@shapediver/viewer.shared.node-tree": "2.8.0",
"@shapediver/viewer.shared.services": "2.8.0",
"@shapediver/viewer.shared.types": "2.8.0",
"gl-matrix": "3.3.0"
},
"gitHead": "08d9680d3b199406d1c6bedc8fbeed3d1ad6a385"
"gitHead": "9caee20107c5d71e43de33edc14ee19d62ec268b"
}
import { vec3 } from 'gl-matrix'
import { UuidGenerator } from '@shapediver/viewer.shared.services'
import { AbstractTreeNodeData } from '@shapediver/viewer.shared.node-tree'
import { container } from 'tsyringe'

@@ -20,3 +19,3 @@ import { ILight, LIGHT_TYPE } from '../interface/ILight'

protected readonly _uuidGenerator: UuidGenerator = <UuidGenerator>container.resolve(UuidGenerator);
protected readonly _uuidGenerator: UuidGenerator = UuidGenerator.instance;

@@ -23,0 +22,0 @@ // #endregion Properties (6)

@@ -1,2 +0,1 @@

import { container, singleton } from 'tsyringe'
import { vec3 } from 'gl-matrix'

@@ -22,6 +21,6 @@ import { Converter, UuidGenerator, SettingsEngine, StateEngine } from '@shapediver/viewer.shared.services'

private readonly _converter: Converter = <Converter>container.resolve(Converter);
private readonly _converter: Converter = Converter.instance;
private readonly _lightNode: ITreeNode = new TreeNode('lights');
private readonly _tree: ITree = <ITree>container.resolve(Tree);
private readonly _uuidGenerator: UuidGenerator = <UuidGenerator>container.resolve(UuidGenerator);
private readonly _tree: ITree = Tree.instance;
private readonly _uuidGenerator: UuidGenerator = UuidGenerator.instance;

@@ -28,0 +27,0 @@ private _lightScene!: LightScene;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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