Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Feb 26, 2024

Related issue: -

Description

This PR makes sure computeTangents() does not work on the raw buffer attribute arrays but uses the getters and setters of BufferAttribute as well as fromBufferAttribute() instead. This makes sure the method works with interleaved data and is more consistent to other BufferGeometry methods.

@Mugen87 Mugen87 added this to the r162 milestone Feb 26, 2024
@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Filesize dev Filesize PR Diff
678.5 kB (168.7 kB) 678.5 kB (168.6 kB) +29 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Filesize dev Filesize PR Diff
458.8 kB (111.4 kB) 458.8 kB (111.4 kB) +29 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant