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

Calculate HPR counter clock wise #5848

Merged
merged 18 commits into from
Oct 2, 2017
Merged

Calculate HPR counter clock wise #5848

merged 18 commits into from
Oct 2, 2017

Conversation

ggetz
Copy link
Contributor

@ggetz ggetz commented Sep 27, 2017

Can't push to that branch directly, but additional fixes to #5809

@cesium-concierge
Copy link

@ggetz, thanks for the pull request! Maintainers, we have a signed CLA from @ggetz, so you can review this at any time.

I am a bot who helps you make Cesium awesome! Thanks again.

CHANGES.md Outdated
@@ -8,6 +8,8 @@ Change Log
* `Scene/OrthographicOffCenterFrustum` has been removed. Use `Core/OrthographicOffCenterFrustum`.
* `Scene/PerspectiveFrustum` has been removed. Use `Core/PerspectiveFrustum`.
* `Scene/PerspectiveOffCenterFrustum` has been removed. Use `Core/PerspectiveOffCenterFrustum`.
* Deprecated
* The default behavior of the functions `HeadingPitchRoll.fromQuaternion`, `Matrix3.fromHeadingPitchRoll`, `Quaternion.fromHeadingPitchRoll`, `Transforms.headingPitchRollToFixedFrame`, and `Transforms.headingPitchRollQuaternion` has been deprecated. An optional boolean flag can be supplied to these functions that, if true, uses the classical orientation of heading and pitch calculated counter-clockwise. The flag will be removed and the new behavior made default in 1.40.[#5666](https://github.com/AnalyticalGraphicsInc/cesium/issues/5666)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please update this and move it to the breaking change section.

@@ -40,17 +42,23 @@ define([
throw new DeveloperError('quaternion is required');
}
//>>includeEnd('debug');

deprecationWarning('HeadingPitchRoll.fromQuaternion', 'This function now uses a counter-clockwise orientation as per mathematical conventions. This deprecation warning will be removed in Cesium 1.40.');
Copy link
Contributor

Choose a reason for hiding this comment

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

Submit an issue to remove this warning.

Also, make the warning more precise. This started in 1.38 and users just need to add the negative sign.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment throughout.

@ggetz
Copy link
Contributor Author

ggetz commented Sep 29, 2017

@pjcozzi Updated. Also opened #5862

@pjcozzi
Copy link
Contributor

pjcozzi commented Oct 2, 2017

Thanks again @kaktus40 @ggetz!

@pjcozzi pjcozzi merged commit cc4ad28 into CesiumGS:master Oct 2, 2017
@pjcozzi pjcozzi deleted the CorrectHPRtoQuaternion branch October 2, 2017 12:17
bagnell added a commit that referenced this pull request Oct 2, 2017
This reverts commit cc4ad28, reversing
changes made to e6c5692.
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.

4 participants