@gltf-transform/functions
Advanced tools
Comparing version 4.0.0-alpha.17 to 4.0.0-alpha.18
{ | ||
"name": "@gltf-transform/functions", | ||
"version": "4.0.0-alpha.17", | ||
"version": "4.0.0-alpha.18", | ||
"repository": "github:donmccurdy/glTF-Transform", | ||
@@ -38,8 +38,8 @@ "homepage": "https://gltf-transform.dev/functions.html", | ||
"dependencies": { | ||
"@gltf-transform/core": "^4.0.0-alpha.17", | ||
"@gltf-transform/extensions": "^4.0.0-alpha.17", | ||
"@gltf-transform/core": "^4.0.0-alpha.18", | ||
"@gltf-transform/extensions": "^4.0.0-alpha.18", | ||
"ktx-parse": "^0.7.0", | ||
"ndarray": "^1.0.19", | ||
"ndarray-lanczos": "^0.3.0", | ||
"ndarray-pixels": "^3.0.4" | ||
"ndarray-pixels": "^4.0.0" | ||
}, | ||
@@ -57,3 +57,3 @@ "files": [ | ||
}, | ||
"gitHead": "2c96f901f74080860f085c410e55cd83c3ff3f84" | ||
"gitHead": "8971da8f1af9f9bb03866801610fa4213c30c672" | ||
} |
@@ -67,4 +67,4 @@ import type { Document, Transform } from '@gltf-transform/core'; | ||
} else { | ||
pattern = /^(POSITION|TEXCOORD|JOINTS|WEIGHTS)(_\d+)?$/; | ||
patternTargets = /^(POSITION|TEXCOORD|JOINTS|WEIGHTS|NORMAL|TANGENT)(_\d+)?$/; | ||
pattern = /^(POSITION|TEXCOORD|JOINTS|WEIGHTS|COLOR)(_\d+)?$/; | ||
patternTargets = /^(POSITION|TEXCOORD|JOINTS|WEIGHTS|COLOR|NORMAL|TANGENT)(_\d+)?$/; | ||
quantizeNormal = Math.min(quantizeNormal, 8); // See meshopt::getMeshoptFilter. | ||
@@ -71,0 +71,0 @@ } |
@@ -204,3 +204,3 @@ import { | ||
quantizeAttribute(dstAttribute, ctor, bits); | ||
prim.swap(srcAttribute, dstAttribute); | ||
prim.setAttribute(semantic, dstAttribute); | ||
} | ||
@@ -207,0 +207,0 @@ |
@@ -83,3 +83,2 @@ import { Accessor, GLTF, MathUtils, Primitive, PrimitiveTarget, TypedArray, vec4 } from '@gltf-transform/core'; | ||
function normalizePrimitiveWeights(prim: PrimLike): void { | ||
// Would prefer to warn if unsafe, but no logger accessible in this scope. | ||
if (!isNormalizeSafe(prim)) return; | ||
@@ -86,0 +85,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2379642
28651
+ Added@emnapi/runtime@1.3.1(transitive)
+ Added@img/sharp-darwin-arm64@0.33.5(transitive)
+ Added@img/sharp-darwin-x64@0.33.5(transitive)
+ Added@img/sharp-libvips-darwin-arm64@1.0.4(transitive)
+ Added@img/sharp-libvips-darwin-x64@1.0.4(transitive)
+ Added@img/sharp-libvips-linux-arm@1.0.5(transitive)
+ Added@img/sharp-libvips-linux-arm64@1.0.4(transitive)
+ Added@img/sharp-libvips-linux-s390x@1.0.4(transitive)
+ Added@img/sharp-libvips-linux-x64@1.0.4(transitive)
+ Added@img/sharp-libvips-linuxmusl-arm64@1.0.4(transitive)
+ Added@img/sharp-libvips-linuxmusl-x64@1.0.4(transitive)
+ Added@img/sharp-linux-arm@0.33.5(transitive)
+ Added@img/sharp-linux-arm64@0.33.5(transitive)
+ Added@img/sharp-linux-s390x@0.33.5(transitive)
+ Added@img/sharp-linux-x64@0.33.5(transitive)
+ Added@img/sharp-linuxmusl-arm64@0.33.5(transitive)
+ Added@img/sharp-linuxmusl-x64@0.33.5(transitive)
+ Added@img/sharp-wasm32@0.33.5(transitive)
+ Added@img/sharp-win32-ia32@0.33.5(transitive)
+ Added@img/sharp-win32-x64@0.33.5(transitive)
+ Addedndarray-pixels@4.1.0(transitive)
+ Addedsharp@0.33.5(transitive)
+ Addedtslib@2.8.1(transitive)
- Removedb4a@1.6.7(transitive)
- Removedbare-events@2.5.4(transitive)
- Removedbare-fs@4.0.1(transitive)
- Removedbare-os@3.4.0(transitive)
- Removedbare-path@3.0.0(transitive)
- Removedbare-stream@2.6.5(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbl@4.1.0(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedchownr@1.1.4(transitive)
- Removeddecompress-response@6.0.0(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedexpand-template@2.0.3(transitive)
- Removedfast-fifo@1.3.2(transitive)
- Removedfs-constants@1.0.0(transitive)
- Removedgithub-from-package@0.0.0(transitive)
- Removedieee754@1.2.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedini@1.3.8(transitive)
- Removedmimic-response@3.1.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp-classic@0.5.3(transitive)
- Removednapi-build-utils@2.0.0(transitive)
- Removedndarray-pixels@3.1.0(transitive)
- Removednode-abi@3.74.0(transitive)
- Removednode-addon-api@6.1.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedprebuild-install@7.1.3(transitive)
- Removedpump@3.0.2(transitive)
- Removedrc@1.2.8(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsharp@0.32.6(transitive)
- Removedsimple-concat@1.0.1(transitive)
- Removedsimple-get@4.0.1(transitive)
- Removedstreamx@2.22.0(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
- Removedtar-fs@2.1.23.0.8(transitive)
- Removedtar-stream@2.2.03.1.7(transitive)
- Removedtext-decoder@1.2.3(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedndarray-pixels@^4.0.0