Skip to content

Commit

Permalink
Merge pull request #175 from xeokit/improved-gltf-geometry-reuse
Browse files Browse the repository at this point in the history
Improved gltf geometry reuse
  • Loading branch information
xeolabs authored Sep 6, 2024
2 parents 0d850ef + c131f83 commit cfae1ce
Show file tree
Hide file tree
Showing 10 changed files with 5,210 additions and 4,456 deletions.
3 changes: 3 additions & 0 deletions dist/convert2xkt.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -16618,6 +16618,9 @@ function createPrimitiveHash(primitive) {
hash.push(attributes[key].id);
}
}
if (primitive.indices) {
hash.push(primitive.indices.id);
}
return hash.join(".");
}

Expand Down
3 changes: 3 additions & 0 deletions dist/xeokit-convert.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10923,6 +10923,9 @@ function createPrimitiveHash(primitive) {
hash.push(attributes[key].id);
}
}
if (primitive.indices) {
hash.push(primitive.indices.id);
}
return hash.join(".");
}

Expand Down
2 changes: 1 addition & 1 deletion dist/xeokit-convert.cjs.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/xeokit-convert.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -23975,6 +23975,9 @@ function createPrimitiveHash(primitive) {
hash.push(attributes[key].id);
}
}
if (primitive.indices) {
hash.push(primitive.indices.id);
}
return hash.join(".");
}

Expand Down
Loading

0 comments on commit cfae1ce

Please sign in to comment.