Skip to content

Commit

Permalink
Use getComponentType
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Dec 16, 2024
1 parent 8c0b883 commit ee1c850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extras/exporters/gltf-exporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ class GltfExporter extends CoreExporter {
// Create accessor for inverse bind matrices
const accessor = {
bufferView: bufferView[0],
componentType: 5126, // FLOAT
componentType: getComponentType(TYPE_FLOAT32),
count: skin.inverseBindPose.length,
type: 'MAT4'
};
Expand Down

0 comments on commit ee1c850

Please sign in to comment.