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

Mesh: Remove dependency to Face3. #21161

Merged
merged 1 commit into from
Jan 28, 2021
Merged

Mesh: Remove dependency to Face3. #21161

merged 1 commit into from
Jan 28, 2021

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jan 28, 2021

Related issue: -

Description

Instead of using Face3, Mesh.raycast() now creates custom objects for faces.

I'd like to suggest this change since Face3 was originally related to Geometry. Besides, it seems Mesh is the only place in the core and examples which uses Face3. If this PR is merged, we could consider to move the Face3 definition into examples/jsm/deprecated/Geometry.js.

@mrdoob
Copy link
Owner

mrdoob commented Jan 28, 2021

Sounds good! 👍

@mrdoob mrdoob added this to the r126 milestone Jan 28, 2021
@mrdoob mrdoob merged commit e34161d into mrdoob:dev Jan 28, 2021
@mrdoob
Copy link
Owner

mrdoob commented Jan 28, 2021

Thanks!

@AllNamesRTaken
Copy link

Documentation does not reflect change. Very confusing for beginners.

@mrdoob
Copy link
Owner

mrdoob commented Feb 5, 2021

Documentation does not reflect change. Very confusing for beginners.

How so? This change has not been released yet.

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Feb 5, 2021

How so? This change has not been released yet.

This change landed in r125.2 (in the master branch) but the build files and github pages are not updated. This could cause the confusing here.

@mrdoob
Copy link
Owner

mrdoob commented Feb 6, 2021

Ah right... Ops...

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