@forgeax/engine-gltf 0.1.27 → 0.1.28
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/README.md +12 -10
- package/dist/cli-gltf.d.ts.map +1 -1
- package/dist/cli-gltf.mjs +13 -13
- package/dist/cli-gltf.mjs.map +1 -1
- package/dist/importer-entry.mjs +3 -3
- package/dist/importer-entry.mjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/node-file-entry.mjs +3 -3
- package/dist/node-file-entry.mjs.map +1 -1
- package/package.json +13 -16
- package/src/__tests__/cli-gltf.integration.test.ts +1 -1
- package/src/__tests__/gltf.unit.test.ts +1 -1
- package/src/cli-gltf.ts +16 -18
- package/src/errors.ts +3 -3
package/dist/node-file-entry.mjs
CHANGED
|
@@ -8,7 +8,7 @@ var GLTF_MESHOPT_FILTERS = ["NONE", "OCTAHEDRAL", "QUATERNION", "EXPONENTIAL"];
|
|
|
8
8
|
var gltfErrorPolicy = {
|
|
9
9
|
"gltf-malformed-header": {
|
|
10
10
|
expected: "GLB 12-byte header (magic 0x46546C67 + version=2 + length) plus mandatory JSON chunk",
|
|
11
|
-
hint: "verify .glb is not truncated; rerun: forgeax
|
|
11
|
+
hint: "verify .glb is not truncated; rerun: forgeax asset import <path> --root <project> --json"
|
|
12
12
|
},
|
|
13
13
|
"gltf-version-unsupported": {
|
|
14
14
|
expected: 'asset.version === "2.0"',
|
|
@@ -44,7 +44,7 @@ var gltfErrorPolicy = {
|
|
|
44
44
|
},
|
|
45
45
|
"gltf-meta-missing": {
|
|
46
46
|
expected: "sidecar <source>.meta.json (importer: 'gltf') present in same directory",
|
|
47
|
-
hint: "run: forgeax
|
|
47
|
+
hint: "run: forgeax asset import <path> --root <project> --json"
|
|
48
48
|
},
|
|
49
49
|
"gltf-instancing-count-mismatch": {
|
|
50
50
|
expected: "all instance attribute accessors share the same count",
|
|
@@ -72,7 +72,7 @@ var gltfErrorPolicy = {
|
|
|
72
72
|
},
|
|
73
73
|
"gltf-image-extract-failed": {
|
|
74
74
|
expected: "image bytes extractable from bufferView / data-URI / external URI without corruption",
|
|
75
|
-
hint: "verify the bufferView byte range / data: URI base64 / external URI sibling file is intact next to the .gltf source; rerun: forgeax
|
|
75
|
+
hint: "verify the bufferView byte range / data: URI base64 / external URI sibling file is intact next to the .gltf source; rerun: forgeax asset import <path> --root <project> --json"
|
|
76
76
|
},
|
|
77
77
|
"gltf-skin-attr-asymmetric": {
|
|
78
78
|
expected: "mesh primitive declares JOINTS_0 and WEIGHTS_0 symmetrically (both present or both absent)",
|