Skip to content

Conversation

@marcofugaro
Copy link
Member

@marcofugaro marcofugaro commented Jun 17, 2020

When adjusting the cylinder orientation to the new one, I discovered that the examples are implemented in the Z up left-handed coordinate system.
This PR updates the examples to use the OpenGL and WebGL standard coordinate system Y up right-handed.

While at it i decided also to

  • replace TrackballControls with OrbitControls, they make more sense
  • convert the examples to modern ES6 syntax

The visual result should be the same, since only the code changes.

@codynova
Copy link
Member

This is awesome, I think it will be much easier for newcomers to understand the coordinate system

@codynova
Copy link
Member

I didn't read this clearly the first time. The ES6 conversion is even more awesome than the adjusted coordinates. I'm super excited to have this.

@marcofugaro marcofugaro marked this pull request as ready for review October 11, 2020 18:13
@marcofugaro marcofugaro marked this pull request as draft October 11, 2020 18:13
@marcofugaro marcofugaro mentioned this pull request Oct 27, 2020
@marcofugaro marcofugaro marked this pull request as ready for review November 15, 2020 21:09
@marcofugaro marcofugaro requested a review from codynova November 15, 2020 21:09
@marcofugaro
Copy link
Member Author

@codynova this PR is finally ready for review 🥳

@codynova
Copy link
Member

codynova commented Dec 5, 2020

Amazing work, this is massive 🎺

@codynova codynova merged commit bd0771b into master Dec 5, 2020
@marcofugaro marcofugaro deleted the examples-update branch December 7, 2020 16:39
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