@shapediver/viewer.rendering-engine.rendering-engine 3.9.0 → 3.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/IManager.d.ts.map +1 -1
- package/dist/IRenderingEngine.d.ts +6 -6
- package/dist/IRenderingEngine.d.ts.map +1 -1
- package/dist/IRenderingEngine.js.map +1 -1
- package/dist/ISDObject.d.ts +1 -1
- package/dist/ISDObject.d.ts.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/package.json +46 -46
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# `@shapediver/viewer.rendering-engine.rendering-engine`
|
|
2
2
|
|
|
3
|
-
This package is part of the [`@shapediver/viewer`](https://www.npmjs.com/package/@shapediver/viewer), you can find all information [here](https://viewer.shapediver.com/v3/latest/api/index.html).
|
|
3
|
+
This package is part of the [`@shapediver/viewer`](https://www.npmjs.com/package/@shapediver/viewer), you can find all information [here](https://viewer.shapediver.com/v3/latest/api/index.html).
|
package/dist/IManager.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IManager.d.ts","sourceRoot":"","sources":["../src/IManager.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;
|
|
1
|
+
{"version":3,"file":"IManager.d.ts","sourceRoot":"","sources":["../src/IManager.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACxB,IAAI,IAAI,IAAI,CAAC;CACb"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { vec2, vec3 } from
|
|
1
|
+
import { ITreeNode } from "@shapediver/viewer.shared.node-tree";
|
|
2
|
+
import { DomEventEngine, SESSION_SETTINGS_MODE, SettingsEngine } from "@shapediver/viewer.shared.services";
|
|
3
|
+
import { FLAG_TYPE, IGeometryData, IIntersectionFilter, RENDERER_TYPE, VISIBILITY_MODE } from "@shapediver/viewer.shared.types";
|
|
4
|
+
import { vec2, vec3 } from "gl-matrix";
|
|
5
5
|
export interface IRenderingEngine {
|
|
6
6
|
automaticResizing: boolean;
|
|
7
7
|
canvas: HTMLCanvasElement;
|
|
@@ -44,8 +44,8 @@ export interface IRenderingEngine {
|
|
|
44
44
|
start(): void;
|
|
45
45
|
update(id: string): void;
|
|
46
46
|
viewInAR(file: string, options?: {
|
|
47
|
-
arScale?:
|
|
48
|
-
arPlacement?:
|
|
47
|
+
arScale?: "auto" | "fixed";
|
|
48
|
+
arPlacement?: "floor" | "wall";
|
|
49
49
|
xrEnvironment?: boolean;
|
|
50
50
|
}): Promise<void>;
|
|
51
51
|
viewableInAR(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRenderingEngine.d.ts","sourceRoot":"","sources":["../src/IRenderingEngine.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IRenderingEngine.d.ts","sourceRoot":"","sources":["../src/IRenderingEngine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EACN,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACN,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAC,IAAI,EAAE,IAAI,EAAC,MAAM,WAAW,CAAC;AAIrC,MAAM,WAAW,gBAAgB;IAGhC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,cAAc,CAAC;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,SAAS,EAAE,MAAM,CA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AC;IACd,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CACP,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAC3B,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;KACxB,GACC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB,YAAY,IAAI,OAAO,CAAC;CAGxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRenderingEngine.js","sourceRoot":"","sources":["../src/IRenderingEngine.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"IRenderingEngine.js","sourceRoot":"","sources":["../src/IRenderingEngine.ts"],"names":[],"mappings":";;AA2EA,4BAA4B"}
|
package/dist/ISDObject.d.ts
CHANGED
package/dist/ISDObject.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISDObject.d.ts","sourceRoot":"","sources":["../src/ISDObject.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ISDObject.d.ts","sourceRoot":"","sources":["../src/ISDObject.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AAE/B,MAAM,WAAW,SAAS;IAGzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,CAAC,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;CAGhD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IManager } from
|
|
2
|
-
import { IRenderingEngine } from
|
|
3
|
-
import { ISDObject } from
|
|
1
|
+
import { IManager } from "./IManager";
|
|
2
|
+
import { IRenderingEngine } from "./IRenderingEngine";
|
|
3
|
+
import { ISDObject } from "./ISDObject";
|
|
4
4
|
export { IRenderingEngine, ISDObject };
|
|
5
5
|
export { IManager };
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC,OAAO,EAAC,gBAAgB,EAAE,SAAS,EAAC,CAAC;AACrC,OAAO,EAAC,QAAQ,EAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
2
|
+
"name": "@shapediver/viewer.rendering-engine.rendering-engine",
|
|
3
|
+
"version": "3.9.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"keywords": [],
|
|
6
|
+
"author": "Michael Oppitz <michael@shapediver.com>",
|
|
7
|
+
"license": "polyform-noncommercial-1.0.0",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"directories": {
|
|
10
|
+
"test": "__tests__"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"package.json",
|
|
14
|
+
"dist/",
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
17
|
+
],
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/shapediver/Viewer.git"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"check": "tsc --noEmit",
|
|
27
|
+
"build": "bash ../../scripts/building/build.sh",
|
|
28
|
+
"build-watch": "bash ../../scripts/building/build-watch.sh",
|
|
29
|
+
"build-dep": "bash ../../scripts/building/build-dep.sh"
|
|
30
|
+
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/shapediver/Viewer/issues"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/shapediver/Viewer#readme",
|
|
35
|
+
"typings": "dist/index.d.ts",
|
|
36
|
+
"jest": {
|
|
37
|
+
"preset": "ts-jest",
|
|
38
|
+
"testEnvironment": "node"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@shapediver/viewer.shared.math": "3.9.1",
|
|
42
|
+
"@shapediver/viewer.shared.node-tree": "3.9.1",
|
|
43
|
+
"@shapediver/viewer.shared.services": "3.9.1",
|
|
44
|
+
"@shapediver/viewer.shared.types": "3.9.1",
|
|
45
|
+
"gl-matrix": "3.3.0"
|
|
46
|
+
},
|
|
47
|
+
"gitHead": "d1c3fab987b43a71529204c094035bf210a2e1d9"
|
|
48
48
|
}
|