Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update BufferAttribute docs to warn about changing usage #23960

Merged
merged 3 commits into from
Apr 29, 2022
Merged

docs: update BufferAttribute docs to warn about changing usage #23960

merged 3 commits into from
Apr 29, 2022

Conversation

gsimone
Copy link
Contributor

@gsimone gsimone commented Apr 28, 2022

@Mugen87 just to get the ball rolling 😄

We either put it with usage or at the top of the page, depends on wether it applies to other properties imo.

Preview 👉 https://raw.githack.com/gsimone/three.js/patch-1/docs/index.html?q=buffera#api/en/core/BufferAttribute

@gsimone
Copy link
Contributor Author

gsimone commented Apr 28, 2022

Should we also do this for setUsage?

@Mugen87
Copy link
Collaborator

Mugen87 commented Apr 28, 2022

If you think it's more clear than feel free to update setUsage(), too.

@gsimone
Copy link
Contributor Author

gsimone commented Apr 28, 2022

Done ✅

@Mugen87 Mugen87 added this to the r140 milestone Apr 28, 2022
@Mugen87 Mugen87 merged commit e3f3758 into mrdoob:dev Apr 29, 2022
abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…b#23960)

* Update BufferAttribute docs to warn about changing `usage`

* adds note to setUsage too

* .
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.

2 participants