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

Interpolant: Remove beforeStart_() and afterEnd_() alias definitions. #24076

Merged
merged 1 commit into from
May 17, 2022

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 17, 2022

Related issue: #24047 (comment)

Description

This PR removes the beforeStart_() and afterEnd_() alias definitions from Interpolant.

Both methods were alternative names for copySampleValue_(). However, they were called with three parameters whereas copySampleValue_() only has a single parameter.

So this change has three advantages: It simplifies the code, avoids prototype access and calls copySampleValue_() with the correct parametrization.

@mrdoob mrdoob added this to the r141 milestone May 17, 2022
@mrdoob mrdoob merged commit 8b315e1 into mrdoob:dev May 17, 2022
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