@nativescript/canvas-three 2.0.0-webgpu.24 → 2.0.0-webgpu.26
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/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +2 -3
- package/three.webgpu.js +0 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/canvas-three/index.ts"],"names":[],"mappings":"AACA,OAAO,+BAA+B,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACvC,MAAc,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,IAAI,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/canvas-three/index.ts"],"names":[],"mappings":"AACA,OAAO,+BAA+B,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACvC,MAAc,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,IAAI,KAAK,CAAC;AACpE,cAAc,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nativescript/canvas-three",
|
|
3
|
-
"version": "2.0.0-webgpu.
|
|
3
|
+
"version": "2.0.0-webgpu.26",
|
|
4
4
|
"description": "Utilities for using THREE.js on NativeScript",
|
|
5
5
|
"main": "index",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -33,8 +33,7 @@
|
|
|
33
33
|
"readmeFilename": "README.md",
|
|
34
34
|
"bootstrapper": "@nativescript/plugin-seed",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nativescript/canvas-polyfill": "webgpu"
|
|
37
|
-
"three": "~0.167.1"
|
|
36
|
+
"@nativescript/canvas-polyfill": "webgpu"
|
|
38
37
|
},
|
|
39
38
|
"types": "./index.d.ts"
|
|
40
39
|
}
|
package/three.webgpu.js
CHANGED
|
@@ -31678,7 +31678,6 @@ class ConstNode extends InputNode {
|
|
|
31678
31678
|
|
|
31679
31679
|
generate(builder, output) {
|
|
31680
31680
|
const type = this.getNodeType(builder);
|
|
31681
|
-
console.log('generate', type, output);
|
|
31682
31681
|
// textureLoad
|
|
31683
31682
|
if (type === 'float' && ['int', 'uint'].includes(output)) {
|
|
31684
31683
|
return `${Math.round(parseFloat(this.generateConst(builder)))}`;
|