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

@shapediver/viewer.rendering-engine.camera-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.camera-engine - npm Package Compare versions

Comparing version 2.8.2 to 2.8.3

2

dist/implementation/camera/AbstractCamera.d.ts

@@ -20,3 +20,3 @@ import { vec2, vec3 } from 'gl-matrix';

protected abstract _controls: ICameraControls;
constructor(_id: string, _type: CAMERA_TYPE);
constructor(_id: string, _type: CAMERA_TYPE, version?: string);
get active(): boolean;

@@ -23,0 +23,0 @@ set active(value: boolean);

@@ -52,4 +52,4 @@ "use strict";

// #region Constructors (1)
constructor(_id, _type) {
super(_id);
constructor(_id, _type, version) {
super(_id, version);
this._id = _id;

@@ -56,0 +56,0 @@ this._type = _type;

@@ -11,3 +11,3 @@ import { SettingsEngine } from '@shapediver/viewer.shared.services';

protected _controls: IOrthographicCameraControls;
constructor(id: string);
constructor(id: string, version?: string);
get bottom(): number;

@@ -14,0 +14,0 @@ set bottom(value: number);

@@ -35,4 +35,4 @@ "use strict";

// #region Constructors (1)
constructor(id) {
super(id, ICameraEngine_1.CAMERA_TYPE.ORTHOGRAPHIC);
constructor(id, version) {
super(id, ICameraEngine_1.CAMERA_TYPE.ORTHOGRAPHIC, version);
// #region Properties (7)

@@ -175,3 +175,3 @@ _OrthographicCamera_converter.set(this, viewer_shared_services_1.Converter.instance);

clone() {
return new OrthographicCamera(this.id);
return new OrthographicCamera(this.id, this.version);
}

@@ -178,0 +178,0 @@ calculateZoomTo(zoomTarget, startingPosition = this.position, startingTarget = this.target) {

@@ -11,3 +11,3 @@ import { SettingsEngine } from '@shapediver/viewer.shared.services';

protected _controls: IPerspectiveCameraControls;
constructor(id: string);
constructor(id: string, version?: string);
get aspect(): number | undefined;

@@ -14,0 +14,0 @@ set aspect(value: number | undefined);

@@ -35,4 +35,4 @@ "use strict";

// #region Constructors (1)
constructor(id) {
super(id, ICameraEngine_1.CAMERA_TYPE.PERSPECTIVE);
constructor(id, version) {
super(id, ICameraEngine_1.CAMERA_TYPE.PERSPECTIVE, version);
// #region Properties (3)

@@ -119,3 +119,3 @@ _PerspectiveCamera_converter.set(this, viewer_shared_services_1.Converter.instance);

clone() {
return new PerspectiveCamera(this.id);
return new PerspectiveCamera(this.id, this.version);
}

@@ -122,0 +122,0 @@ calculateZoomTo(zoomTarget, startingPosition = this.position, startingTarget = this.target) {

{
"name": "@shapediver/viewer.rendering-engine.camera-engine",
"version": "2.8.2",
"version": "2.8.3",
"description": "",

@@ -42,8 +42,8 @@ "keywords": [],

"dependencies": {
"@shapediver/viewer.rendering-engine.rendering-engine": "2.8.2",
"@shapediver/viewer.rendering-engine.rendering-engine": "2.8.3",
"@shapediver/viewer.settings": "0.3.0",
"@shapediver/viewer.shared.math": "2.8.2",
"@shapediver/viewer.shared.node-tree": "2.8.2",
"@shapediver/viewer.shared.services": "2.8.2",
"@shapediver/viewer.shared.types": "2.8.2",
"@shapediver/viewer.shared.math": "2.8.3",
"@shapediver/viewer.shared.node-tree": "2.8.3",
"@shapediver/viewer.shared.services": "2.8.3",
"@shapediver/viewer.shared.types": "2.8.3",
"@tweenjs/tween.js": "^18.6.4",

@@ -53,3 +53,3 @@ "detect-it": "4.0.1",

},
"gitHead": "ba7d5e50e27552eef4b3188056c600ab2b288485"
"gitHead": "ed5e68bfe4b41ad6445329442c2d7d4f7e0bbcb1"
}

@@ -52,4 +52,4 @@ import * as detectIt from 'detect-it'

constructor(private readonly _id: string, private readonly _type: CAMERA_TYPE) {
super(_id);
constructor(private readonly _id: string, private readonly _type: CAMERA_TYPE, version?: string) {
super(_id, version);
}

@@ -56,0 +56,0 @@

@@ -44,4 +44,4 @@ import {

constructor(id: string) {
super(id, CAMERA_TYPE.ORTHOGRAPHIC);
constructor(id: string, version?: string) {
super(id, CAMERA_TYPE.ORTHOGRAPHIC, version);
this._controls = new OrthographicCameraControls(this, true);

@@ -204,3 +204,3 @@ }

public clone(): IOrthographicCamera {
return new OrthographicCamera(this.id);
return new OrthographicCamera(this.id, this.version);
}

@@ -207,0 +207,0 @@

@@ -41,4 +41,4 @@ import {

constructor(id: string) {
super(id, CAMERA_TYPE.PERSPECTIVE);
constructor(id: string, version?: string) {
super(id, CAMERA_TYPE.PERSPECTIVE, version);
this._controls = new PerspectiveCameraControls(this, true);

@@ -138,3 +138,3 @@ }

public clone(): IPerspectiveCamera {
return new PerspectiveCamera(this.id);
return new PerspectiveCamera(this.id, this.version);
}

@@ -141,0 +141,0 @@

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

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