@flighthq/scene3d-wgpu 0.3.1-next.407.d03a0bb → 0.3.1-next.425.a3192ab
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/package.json +15 -15
- package/src/wgpuMeshUpload.test.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flighthq/scene3d-wgpu",
|
|
3
|
-
"version": "0.3.1-next.
|
|
3
|
+
"version": "0.3.1-next.425.a3192ab",
|
|
4
4
|
"author": "Joshua Granick and other contributors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@flighthq/camera": "0.3.1-next.
|
|
42
|
-
"@flighthq/color": "0.3.1-next.
|
|
43
|
-
"@flighthq/geometry": "0.3.1-next.
|
|
44
|
-
"@flighthq/image": "0.3.1-next.
|
|
45
|
-
"@flighthq/lighting": "0.3.1-next.
|
|
46
|
-
"@flighthq/log": "0.3.1-next.
|
|
47
|
-
"@flighthq/materials": "0.3.1-next.
|
|
48
|
-
"@flighthq/node": "0.3.1-next.
|
|
49
|
-
"@flighthq/render": "0.3.1-next.
|
|
50
|
-
"@flighthq/render-wgpu": "0.3.1-next.
|
|
51
|
-
"@flighthq/scene3d": "0.3.1-next.
|
|
52
|
-
"@flighthq/shading": "0.3.1-next.
|
|
53
|
-
"@flighthq/texture": "0.3.1-next.
|
|
54
|
-
"@flighthq/types": "0.3.1-next.
|
|
41
|
+
"@flighthq/camera": "0.3.1-next.425.a3192ab",
|
|
42
|
+
"@flighthq/color": "0.3.1-next.425.a3192ab",
|
|
43
|
+
"@flighthq/geometry": "0.3.1-next.425.a3192ab",
|
|
44
|
+
"@flighthq/image": "0.3.1-next.425.a3192ab",
|
|
45
|
+
"@flighthq/lighting": "0.3.1-next.425.a3192ab",
|
|
46
|
+
"@flighthq/log": "0.3.1-next.425.a3192ab",
|
|
47
|
+
"@flighthq/materials": "0.3.1-next.425.a3192ab",
|
|
48
|
+
"@flighthq/node": "0.3.1-next.425.a3192ab",
|
|
49
|
+
"@flighthq/render": "0.3.1-next.425.a3192ab",
|
|
50
|
+
"@flighthq/render-wgpu": "0.3.1-next.425.a3192ab",
|
|
51
|
+
"@flighthq/scene3d": "0.3.1-next.425.a3192ab",
|
|
52
|
+
"@flighthq/shading": "0.3.1-next.425.a3192ab",
|
|
53
|
+
"@flighthq/texture": "0.3.1-next.425.a3192ab",
|
|
54
|
+
"@flighthq/types": "0.3.1-next.425.a3192ab"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@webgpu/types": "^0.1.70"
|
|
@@ -80,6 +80,8 @@ describe('ensureWgpuMeshUpload', () => {
|
|
|
80
80
|
positions: new Float32Array([1, 2, 3]),
|
|
81
81
|
skinnedNormals: new Float32Array(3),
|
|
82
82
|
skinnedPositions: new Float32Array(3),
|
|
83
|
+
skinnedTangents: new Float32Array(0),
|
|
84
|
+
tangents: new Float32Array(0),
|
|
83
85
|
weights: new Float32Array([1, 0, 0, 0]),
|
|
84
86
|
});
|
|
85
87
|
|
|
@@ -135,6 +137,8 @@ describe('ensureWgpuMeshUpload', () => {
|
|
|
135
137
|
positions: new Float32Array([1, 0, 0]),
|
|
136
138
|
skinnedNormals: new Float32Array(3),
|
|
137
139
|
skinnedPositions: new Float32Array(3),
|
|
140
|
+
skinnedTangents: new Float32Array(0),
|
|
141
|
+
tangents: new Float32Array(0),
|
|
138
142
|
weights: new Float32Array([1, 0, 0, 0]),
|
|
139
143
|
});
|
|
140
144
|
const morph: MeshMorph = {
|