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

TS: Clean up. #19529

Merged
merged 1 commit into from
Jun 3, 2020
Merged

TS: Clean up. #19529

merged 1 commit into from
Jun 3, 2020

Conversation

linbingquan
Copy link
Contributor

@linbingquan linbingquan commented Jun 2, 2020

It is a little hard to found...

@Mugen87
Copy link
Collaborator

Mugen87 commented Jun 2, 2020

@mrdoob Should deprecated method or function parameters always be removed from the TS declaration? I'm not sure this was ever discussed. This PR removes heightScale from TorusKnotBufferGeometry (which is totally correct) but it could also remove it from TorusKnotGeometry.

@mrdoob
Copy link
Owner

mrdoob commented Jun 2, 2020

Yes, I think d.ts files should not have deprecated stuff.

@mrdoob mrdoob added this to the r118 milestone Jun 2, 2020
@Mugen87
Copy link
Collaborator

Mugen87 commented Jun 3, 2020

@linbingquan Okay, in this case heightScale can be removed from TorusKnotGeometry, too.

@linbingquan
Copy link
Contributor Author

@linbingquan Okay, in this case heightScale can be removed from TorusKnotGeometry, too.

OK.

How about it TubeGeometry#taper.

if ( taper !== undefined ) console.warn( 'THREE.TubeGeometry: taper has been removed.' );

@mrdoob mrdoob merged commit ae7d5e5 into mrdoob:dev Jun 3, 2020
@mrdoob
Copy link
Owner

mrdoob commented Jun 3, 2020

Thanks!

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.

3 participants