@driftengine/assets 4.8.5 → 4.8.6

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/weld.js CHANGED
@@ -68,6 +68,12 @@ const ATTRIBUTES = {
68
68
  * face on the other's picture.
69
69
  */
70
70
  layers: 1,
71
+ /*
72
+ * The lightmap's coordinates, keyed for the reason the first set is: two vertices at one position
73
+ * in two places on a lightmap page are two vertices, and welding them would light one face with
74
+ * the other's bake.
75
+ */
76
+ lightmapUvs: 2,
71
77
  };
72
78
  const NAMES = Object.keys(ATTRIBUTES);
73
79
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driftengine/assets",
3
- "version": "4.8.5",
3
+ "version": "4.8.6",
4
4
  "description": "Model readers and the streaming loader for the .drft container",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -27,11 +27,11 @@
27
27
  ],
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@driftengine/drft": "4.8.5",
31
- "@driftengine/texture": "4.8.5"
30
+ "@driftengine/drft": "4.8.6",
31
+ "@driftengine/texture": "4.8.6"
32
32
  },
33
33
  "peerDependencies": {
34
- "@driftengine/core": "4.8.5"
34
+ "@driftengine/core": "4.8.6"
35
35
  },
36
36
  "author": "Drift Technologies",
37
37
  "repository": {
package/src/weld.ts CHANGED
@@ -73,6 +73,12 @@ const ATTRIBUTES = {
73
73
  * face on the other's picture.
74
74
  */
75
75
  layers: 1,
76
+ /*
77
+ * The lightmap's coordinates, keyed for the reason the first set is: two vertices at one position
78
+ * in two places on a lightmap page are two vertices, and welding them would light one face with
79
+ * the other's bake.
80
+ */
81
+ lightmapUvs: 2,
76
82
  } as const satisfies Record<PerVertexAttribute, number>;
77
83
 
78
84
  /**