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

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

Package Overview
Dependencies
Maintainers
5
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 2.7.10 to 2.8.0

2

dist/implementation/AnimationEngine.d.ts

@@ -6,3 +6,5 @@ import { IAnimationData } from '@shapediver/viewer.shared.types';

private readonly _tree;
private static _instance;
private _animations;
static get instance(): AnimationEngine;
get animations(): {

@@ -9,0 +11,0 @@ [key: string]: IAnimationData;

25

dist/implementation/AnimationEngine.js
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AnimationEngine = void 0;
const tsyringe_1 = require("tsyringe");
const gl_matrix_1 = require("gl-matrix");
const viewer_shared_node_tree_1 = require("@shapediver/viewer.shared.node-tree");
const viewer_shared_types_1 = require("@shapediver/viewer.shared.types");
let AnimationEngine = class AnimationEngine {
class AnimationEngine {
constructor() {
// #region Properties (2)
this._tree = tsyringe_1.container.resolve(viewer_shared_node_tree_1.Tree);
// #region Properties (3)
this._tree = viewer_shared_node_tree_1.Tree.instance;
this._animations = {};
// #endregion Private Methods (1)
}
// #endregion Properties (2)
// #endregion Properties (3)
// #region Public Static Accessors (1)
static get instance() {
return this._instance || (this._instance = new this());
}
// #endregion Public Static Accessors (1)
// #region Public Accessors (1)

@@ -200,7 +198,4 @@ get animations() {

}
};
AnimationEngine = __decorate([
(0, tsyringe_1.singleton)()
], AnimationEngine);
}
exports.AnimationEngine = AnimationEngine;
//# sourceMappingURL=AnimationEngine.js.map
{
"name": "@shapediver/viewer.rendering-engine.animation-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.shared.node-tree": "2.7.10",
"@shapediver/viewer.shared.services": "2.7.10",
"@shapediver/viewer.shared.types": "2.7.10",
"@shapediver/viewer.rendering-engine.rendering-engine": "2.8.0",
"@shapediver/viewer.shared.node-tree": "2.8.0",
"@shapediver/viewer.shared.services": "2.8.0",
"@shapediver/viewer.shared.types": "2.8.0",
"@tweenjs/tween.js": "^18.6.4",
"gl-matrix": "3.3.0",
"tsyringe": "^4.5.0"
"gl-matrix": "3.3.0"
},
"gitHead": "08d9680d3b199406d1c6bedc8fbeed3d1ad6a385"
"gitHead": "9caee20107c5d71e43de33edc14ee19d62ec268b"
}

@@ -1,3 +0,1 @@

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

@@ -9,8 +7,9 @@ import { ITree, ITreeNode, Tree } from '@shapediver/viewer.shared.node-tree'

@singleton()
export class AnimationEngine implements IManager, IAnimationEngine {
// #region Properties (2)
// #region Properties (3)
private readonly _tree: ITree = <ITree>container.resolve(Tree);
private readonly _tree: ITree = Tree.instance;
private static _instance: AnimationEngine;
private _animations: {

@@ -20,4 +19,12 @@ [key: string]: IAnimationData

// #endregion Properties (2)
// #endregion Properties (3)
// #region Public Static Accessors (1)
public static get instance() {
return this._instance || (this._instance = new this());
}
// #endregion Public Static Accessors (1)
// #region Public Accessors (1)

@@ -24,0 +31,0 @@

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