@pixiv/three-vrm 3.4.5 → 3.5.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixiv/three-vrm",
3
- "version": "3.4.5",
3
+ "version": "3.5.1",
4
4
  "description": "VRM file loader for three.js.",
5
5
  "license": "MIT",
6
6
  "author": "pixiv",
@@ -54,12 +54,12 @@
54
54
  ]
55
55
  },
56
56
  "dependencies": {
57
- "@pixiv/three-vrm-core": "3.4.5",
58
- "@pixiv/three-vrm-materials-hdr-emissive-multiplier": "3.4.5",
59
- "@pixiv/three-vrm-materials-mtoon": "3.4.5",
60
- "@pixiv/three-vrm-materials-v0compat": "3.4.5",
61
- "@pixiv/three-vrm-node-constraint": "3.4.5",
62
- "@pixiv/three-vrm-springbone": "3.4.5"
57
+ "@pixiv/three-vrm-core": "3.5.1",
58
+ "@pixiv/three-vrm-materials-hdr-emissive-multiplier": "3.5.1",
59
+ "@pixiv/three-vrm-materials-mtoon": "3.5.1",
60
+ "@pixiv/three-vrm-materials-v0compat": "3.5.1",
61
+ "@pixiv/three-vrm-node-constraint": "3.5.1",
62
+ "@pixiv/three-vrm-springbone": "3.5.1"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@types/three": "^0.180.0",
@@ -68,5 +68,5 @@
68
68
  "peerDependencies": {
69
69
  "three": ">=0.137"
70
70
  },
71
- "gitHead": "dbd6adac0c78f237fd9c2eaaeee92c8c15c8368a"
71
+ "gitHead": "2c4aac612467216e0c8e7dc4500c2fa309208cc7"
72
72
  }
@@ -3,6 +3,7 @@ import * as THREE from 'three';
3
3
  * Traverse given object and remove unnecessary vertices from every BufferGeometries.
4
4
  * This only processes buffer geometries with index buffer.
5
5
  *
6
+ * Certain models have vertices that are not used by any faces.
6
7
  * Three.js creates morph textures for each geometries and it sometimes consumes unnecessary amount of VRAM for certain models.
7
8
  * This function will optimize geometries to reduce the size of morph texture.
8
9
  * See: https://github.com/mrdoob/three.js/issues/23095