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

BatchedMesh: Declare local variables to avoid using "this" #27045

Merged
merged 1 commit into from Oct 24, 2023

Conversation

gkjohnson
Copy link
Collaborator

@gkjohnson gkjohnson commented Oct 24, 2023

Related issue: #25059, #22376

Description

Declare local variables in setMatrixAt, getMatrixAt, setVisibleAt, and getVisibleAt so we can avoid using this._ and make it easier to read function contents (imo).

I'll take a look at the applyGeometry and deleteGeometry functions in another PR.

cc @takahirox

@gkjohnson gkjohnson added this to the r158 milestone Oct 24, 2023
@Mugen87 Mugen87 merged commit 25ce027 into mrdoob:dev Oct 24, 2023
19 checks passed
CITIZENDOT pushed a commit to CITIZENDOT/three.js that referenced this pull request Oct 25, 2023
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.

None yet

2 participants