@xtctwins/tctwins-core 1.0.32 → 1.0.34
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/dist/tctwins-core.es.js +3984 -3969
- package/dist/tctwins-core.min.es.js +9 -9
- package/package.json +2 -2
- package/types/viewer/Viewer.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xtctwins/tctwins-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.34",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Web Programming Toolkit for 3D/2D BIM and CAD",
|
|
6
6
|
"module": "./dist/tctwins-core.es.js",
|
|
7
7
|
"main": "./dist/tctwins-core.cjs.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"build": "
|
|
10
|
+
"build": " webpack --config webpack.min.config.js",
|
|
11
11
|
"dev": "rollup --config rollup.dev.config.js; cp node_modules/web-ifc/web-ifc.wasm dist/.",
|
|
12
12
|
"test": "percy exec -- node ./snapshots.js",
|
|
13
13
|
"docs": "rm -Rf ./docs/*; ./node_modules/.bin/esdoc",
|
package/types/viewer/Viewer.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export declare type ViewerConfiguration = {
|
|
|
29
29
|
transparent?: boolean;
|
|
30
30
|
/** Whether or not you want alpha composition with premultiplied alpha. Highlighting and selection works best when this is ````false````. */
|
|
31
31
|
premultipliedAlpha?: boolean;
|
|
32
|
+
resolutionScale: number;
|
|
33
|
+
|
|
32
34
|
/** When true, expects that all textures and colors are premultiplied gamma. */
|
|
33
35
|
gammaInput?: boolean;
|
|
34
36
|
/** Whether or not to render with pre-multiplied gama. */
|