@babylonjs/post-processes 5.0.0-rc.1 → 5.0.0-rc.10
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/asciiArt/asciiArtPostProcess.d.ts +107 -106
- package/asciiArt/asciiArtPostProcess.js +206 -205
- package/asciiArt/asciiArtPostProcess.js.map +1 -1
- package/asciiArt/asciiart.fragment.d.ts +5 -5
- package/asciiArt/asciiart.fragment.js +8 -6
- package/asciiArt/asciiart.fragment.js.map +1 -1
- package/asciiArt/index.d.ts +1 -1
- package/asciiArt/index.js +1 -1
- package/asciiArt/index.js.map +1 -1
- package/digitalRain/digitalRainPostProcess.d.ts +107 -106
- package/digitalRain/digitalRainPostProcess.js +216 -215
- package/digitalRain/digitalRainPostProcess.js.map +1 -1
- package/digitalRain/digitalrain.fragment.d.ts +5 -5
- package/digitalRain/digitalrain.fragment.js +8 -6
- package/digitalRain/digitalrain.fragment.js.map +1 -1
- package/digitalRain/index.d.ts +1 -1
- package/digitalRain/index.js +1 -1
- package/digitalRain/index.js.map +1 -1
- package/index.d.ts +2 -2
- package/index.js +3 -2
- package/index.js.map +1 -1
- package/legacy/legacy-asciiArt.d.ts +1 -1
- package/legacy/legacy-asciiArt.js +13 -12
- package/legacy/legacy-asciiArt.js.map +1 -1
- package/legacy/legacy-digitalRain.d.ts +1 -1
- package/legacy/legacy-digitalRain.js +13 -12
- package/legacy/legacy-digitalRain.js.map +1 -1
- package/legacy/legacy.d.ts +1 -1
- package/legacy/legacy.js +14 -13
- package/legacy/legacy.js.map +1 -1
- package/package.json +21 -55
- package/readme.md +2 -2
@@ -1,13 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
*
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
}
|
12
|
-
|
1
|
+
/* eslint-disable import/no-internal-modules */
|
2
|
+
import * as postProcessLibrary from "../asciiArt/index";
|
3
|
+
/**
|
4
|
+
* This is the entry point for the UMD module.
|
5
|
+
* The entry point for a future ESM package should be index.ts
|
6
|
+
*/
|
7
|
+
var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
8
|
+
if (typeof globalObject !== "undefined") {
|
9
|
+
for (var key in postProcessLibrary) {
|
10
|
+
globalObject.BABYLON[key] = postProcessLibrary[key];
|
11
|
+
}
|
12
|
+
}
|
13
|
+
export * from "../asciiArt/index";
|
13
14
|
//# sourceMappingURL=legacy-asciiArt.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"legacy-asciiArt.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"legacy-asciiArt.js","sourceRoot":"","sources":["../../../../../lts/postProcesses/generated/legacy/legacy-asciiArt.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,kBAAkB,MAAM,mBAAmB,CAAC;AACxD;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,kBAAkB,EAAE;QAC5B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AACD,cAAc,mBAAmB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as postProcessLibrary from \"../asciiArt/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in postProcessLibrary) {\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\n }\n}\nexport * from \"../asciiArt/index\";\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
export * from "../digitalRain/index";
|
1
|
+
export * from "../digitalRain/index";
|
@@ -1,13 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
*
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
}
|
12
|
-
|
1
|
+
/* eslint-disable import/no-internal-modules */
|
2
|
+
import * as postProcessLibrary from "../digitalRain/index";
|
3
|
+
/**
|
4
|
+
* This is the entry point for the UMD module.
|
5
|
+
* The entry point for a future ESM package should be index.ts
|
6
|
+
*/
|
7
|
+
var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
8
|
+
if (typeof globalObject !== "undefined") {
|
9
|
+
for (var key in postProcessLibrary) {
|
10
|
+
globalObject.BABYLON[key] = postProcessLibrary[key];
|
11
|
+
}
|
12
|
+
}
|
13
|
+
export * from "../digitalRain/index";
|
13
14
|
//# sourceMappingURL=legacy-digitalRain.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"legacy-digitalRain.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"legacy-digitalRain.js","sourceRoot":"","sources":["../../../../../lts/postProcesses/generated/legacy/legacy-digitalRain.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,kBAAkB,MAAM,sBAAsB,CAAC;AAC3D;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,kBAAkB,EAAE;QAC5B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AACD,cAAc,sBAAsB,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as postProcessLibrary from \"../digitalRain/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in postProcessLibrary) {\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\n }\n}\nexport * from \"../digitalRain/index\";\n"]}
|
package/legacy/legacy.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "../index";
|
1
|
+
export * from "../index";
|
package/legacy/legacy.js
CHANGED
@@ -1,14 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
}
|
13
|
-
|
1
|
+
/* eslint-disable import/no-internal-modules */
|
2
|
+
import * as postProcessLibrary from "../index";
|
3
|
+
/**
|
4
|
+
*
|
5
|
+
* This is the entry point for the UMD module.
|
6
|
+
* The entry point for a future ESM package should be index.ts
|
7
|
+
*/
|
8
|
+
var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
9
|
+
if (typeof globalObject !== "undefined") {
|
10
|
+
for (var key in postProcessLibrary) {
|
11
|
+
globalObject.BABYLON[key] = postProcessLibrary[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
export * from "../index";
|
14
15
|
//# sourceMappingURL=legacy.js.map
|
package/legacy/legacy.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../../../lts/postProcesses/generated/legacy/legacy.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,kBAAkB,MAAM,UAAU,CAAC;AAC/C;;;;GAIG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,kBAAkB,EAAE;QAC5B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,kBAAmB,CAAC,GAAG,CAAC,CAAC;KACrE;CACJ;AACD,cAAc,UAAU,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as postProcessLibrary from \"../index\";\n/**\n *\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in postProcessLibrary) {\n (<any>globalObject).BABYLON[key] = (<any>postProcessLibrary)[key];\n }\n}\nexport * from \"../index\";\n"]}
|
package/package.json
CHANGED
@@ -1,65 +1,31 @@
|
|
1
1
|
{
|
2
|
-
"author": {
|
3
|
-
"name": "David CATUHE"
|
4
|
-
},
|
5
2
|
"name": "@babylonjs/post-processes",
|
6
|
-
"
|
7
|
-
"version": "5.0.0-rc.1",
|
8
|
-
"repository": {
|
9
|
-
"type": "git",
|
10
|
-
"url": "https://github.com/BabylonJS/Babylon.js.git"
|
11
|
-
},
|
3
|
+
"version": "5.0.0-rc.10",
|
12
4
|
"main": "index.js",
|
5
|
+
"module": "index.js",
|
6
|
+
"types": "index.d.ts",
|
13
7
|
"files": [
|
14
|
-
"
|
15
|
-
"
|
16
|
-
"
|
17
|
-
"asciiArt/asciiArtPostProcess.d.ts",
|
18
|
-
"asciiArt/asciiArtPostProcess.js",
|
19
|
-
"asciiArt/asciiArtPostProcess.js.map",
|
20
|
-
"asciiArt/index.d.ts",
|
21
|
-
"asciiArt/index.js",
|
22
|
-
"asciiArt/index.js.map",
|
23
|
-
"digitalRain/digitalrain.fragment.d.ts",
|
24
|
-
"digitalRain/digitalrain.fragment.js",
|
25
|
-
"digitalRain/digitalrain.fragment.js.map",
|
26
|
-
"digitalRain/digitalRainPostProcess.d.ts",
|
27
|
-
"digitalRain/digitalRainPostProcess.js",
|
28
|
-
"digitalRain/digitalRainPostProcess.js.map",
|
29
|
-
"digitalRain/index.d.ts",
|
30
|
-
"digitalRain/index.js",
|
31
|
-
"digitalRain/index.js.map",
|
32
|
-
"index.d.ts",
|
33
|
-
"index.js",
|
34
|
-
"index.js.map",
|
35
|
-
"legacy/legacy-asciiArt.d.ts",
|
36
|
-
"legacy/legacy-asciiArt.js",
|
37
|
-
"legacy/legacy-asciiArt.js.map",
|
38
|
-
"legacy/legacy-digitalRain.d.ts",
|
39
|
-
"legacy/legacy-digitalRain.js",
|
40
|
-
"legacy/legacy-digitalRain.js.map",
|
41
|
-
"legacy/legacy.d.ts",
|
42
|
-
"legacy/legacy.js",
|
43
|
-
"legacy/legacy.js.map",
|
8
|
+
"**/*.js",
|
9
|
+
"**/*.d.ts",
|
10
|
+
"**/*.map",
|
44
11
|
"readme.md"
|
45
12
|
],
|
46
|
-
"
|
47
|
-
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
52
|
-
|
53
|
-
],
|
54
|
-
"license": "Apache-2.0",
|
13
|
+
"scripts": {
|
14
|
+
"build": "npm run clean && npm run compile",
|
15
|
+
"clean": "rimraf dist && rimraf *.tsbuildinfo && rimraf \"./**/*.!(md|json|build.json)\"",
|
16
|
+
"compile": "tsc -b tsconfig.build.json",
|
17
|
+
"postcompile": "build-tools -c add-js-to-es6 --path ./dist/**/*.js",
|
18
|
+
"prepublishOnly": "build-tools -c prepare-es6-build"
|
19
|
+
},
|
55
20
|
"dependencies": {
|
56
|
-
"@babylonjs/core": "5.0.0-rc.
|
21
|
+
"@babylonjs/core": "^5.0.0-rc.10",
|
57
22
|
"tslib": "^2.3.1"
|
58
23
|
},
|
59
|
-
"
|
60
|
-
"
|
24
|
+
"devDependencies": {
|
25
|
+
"@dev/build-tools": "^1.0.0",
|
26
|
+
"@lts/post-processes": "^1.0.0",
|
27
|
+
"rimraf": "^3.0.2",
|
28
|
+
"typescript": "^4.4.4"
|
61
29
|
},
|
62
|
-
"
|
63
|
-
|
64
|
-
"type": "module"
|
65
|
-
}
|
30
|
+
"sideEffects": true
|
31
|
+
}
|
package/readme.md
CHANGED
@@ -13,7 +13,7 @@ npm install --save @babylonjs/core @babylonjs/post-processes
|
|
13
13
|
|
14
14
|
# How to use
|
15
15
|
|
16
|
-
Afterwards it can be imported to
|
16
|
+
Afterwards it can be imported to your project using:
|
17
17
|
|
18
18
|
```
|
19
19
|
import { AsciiArtPostProcess } from '@babylonjs/post-processes/asciiArt';
|
@@ -28,4 +28,4 @@ let postProcess = new AsciiArtPostProcess("AsciiArt", camera);
|
|
28
28
|
// Some more awesome code
|
29
29
|
```
|
30
30
|
|
31
|
-
For more information you can have a look at our [
|
31
|
+
For more information you can have a look at our [ES6 dedicated documentation](https://doc.babylonjs.com/features/es6_support).
|