Skip to content

Commit

Permalink
refactor: combineSkeletons, trivial
Browse files Browse the repository at this point in the history
fix doc comment of listUsedIndices

See: #1557 (comment)
  • Loading branch information
0b5vr committed Dec 18, 2024
1 parent 25b7c73 commit ff87e66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/three-vrm/src/VRMUtils/combineSkeletons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ function collectSkinnedMeshes(scene: THREE.Object3D): Set<THREE.SkinnedMesh> {
/**
* List all skin indices used by the given geometry.
* If the skin weight is 0, the index won't be considered as used.
* @param skinIndexAttr The skin index attribute
* @param skinWeightAttr The skin weight attribute
* @param geometry The geometry to list used skin indices
*/
function listUsedIndices(geometry: THREE.BufferGeometry): Set<number> {
const skinIndexAttr = geometry.getAttribute('skinIndex');
Expand Down

0 comments on commit ff87e66

Please sign in to comment.