Skip to content

Conversation

@linbingquan
Copy link
Contributor

No description provided.

@linbingquan linbingquan changed the title src: Convert to es6 class. Cameras: Convert to es6 class. Aug 2, 2020
@Mugen87
Copy link
Collaborator

Mugen87 commented Aug 2, 2020

I'm afraid this PR breaks CinematicCamera.

@linbingquan
Copy link
Contributor Author

This PR breaks CinematicCamera.

Yes, thank you to review, I try to solve it.

@DefinitelyMaybe DefinitelyMaybe mentioned this pull request Aug 3, 2020
43 tasks
import { BokehDepthShader } from "../shaders/BokehShader2.js";

var CinematicCamera = function ( fov, aspect, near, far ) {
class CinematicCamera extends PerspectiveCamera {
Copy link
Collaborator

@Mugen87 Mugen87 Aug 17, 2020

Choose a reason for hiding this comment

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

This PR is not mergeable as long as you have to modify example code.

Notice that it is not acceptable to just modify jsm modules. Until end of this year, example/js and exampes/jsm have to stay in sync (expect for new files).

Please revert any changes to CinematicCamera, PerspectiveCamera and Camera.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How about this #20102

Copy link
Collaborator

Choose a reason for hiding this comment

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

Closing in favor of #20102.

@Mugen87 Mugen87 closed this Aug 17, 2020
@linbingquan linbingquan deleted the dev-es6 branch February 13, 2022 08:24
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