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

math area and space: move to es6 classes #20076

Merged
merged 9 commits into from
Aug 15, 2020
Merged

math area and space: move to es6 classes #20076

merged 9 commits into from
Aug 15, 2020

Conversation

yomotsu
Copy link
Contributor

@yomotsu yomotsu commented Aug 15, 2020

A part of #19986

This PR contains:

  • Box2
  • Box3
  • Cylindrical
  • Frustum
  • Line3
  • Plane
  • Sphere
  • SphericalHarmonics3
  • Triangle

Spherical has been done by another PR
Basic math classes have been done by #19997

I have checked the examples folder randomly and it works correctly.


const _vector = new Vector3();

const _box = new Box3();
Copy link
Contributor Author

@yomotsu yomotsu Aug 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internal values have been moved to the end of the file, since this line was calling Box3 itself.

@DefinitelyMaybe
Copy link
Contributor

oooh yeah! 👍

@DefinitelyMaybe DefinitelyMaybe mentioned this pull request Aug 15, 2020
43 tasks
@mrdoob mrdoob added this to the r120 milestone Aug 15, 2020
@mrdoob mrdoob merged commit acb337f into mrdoob:dev Aug 15, 2020
@mrdoob
Copy link
Owner

mrdoob commented Aug 15, 2020

Thanks!

@yomotsu yomotsu deleted the move-to-es6-classes/math-area-and-space branch June 29, 2021 13:33
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