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

updating Camera.changed to account for changes in roll #11844

Merged
merged 4 commits into from
Feb 23, 2024
Merged
Prev Previous commit
explicitly intialize _changedRoll in camera constructor
  • Loading branch information
malaretv committed Feb 21, 2024
commit ca88d4e7cb9f82661ddaa38129b5ef8d67b113f8
1 change: 1 addition & 0 deletions packages/engine/Source/Scene/Camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ function Camera(scene) {
this._changedDirection = undefined;
this._changedFrustum = undefined;
this._changedHeading = undefined;
this._changedRoll = undefined;

/**
* The amount the camera has to change before the <code>changed</code> event is raised. The value is a percentage in the [0, 1] range.
Expand Down
Loading