-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
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
Cameras: Convert to es6 class. #19989
Conversation
I'm afraid this PR breaks |
Yes, thank you to review, I try to solve it. |
@@ -13,205 +13,205 @@ import { | |||
import { BokehShader } from "../shaders/BokehShader2.js"; | |||
import { BokehDepthShader } from "../shaders/BokehShader2.js"; | |||
|
|||
var CinematicCamera = function ( fov, aspect, near, far ) { | |||
class CinematicCamera extends PerspectiveCamera { |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this #20102
There was a problem hiding this comment.
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.
No description provided.