From cdf3a94de43fc4eadab5f8e9fc99a94af512c222 Mon Sep 17 00:00:00 2001 From: Patrick Cozzi Date: Thu, 30 Jun 2016 12:22:21 -0400 Subject: [PATCH] Mark new aircraft functions as private --- CHANGES.md | 1 - Source/Core/Transforms.js | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 49a387e2dcf8..345b5b41c907 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -30,7 +30,6 @@ Change Log * Improved `GroundPrimitive` performance. * Some incorrect KML (specifically KML that reuses IDs) is now parsed correctly. * Added `unsupportedNodeEvent` to `KmlDataSource` that is fired whenever an unsupported node is encountered. -* Added aircraft heading, pitch, roll functions: `Transforms.aircraftHeadingPitchRollToFixedFrame` and `Transforms.aircraftHeadingPitchRollQuaternion`. * `Clock` now keeps its configuration settings self-consistent. Previously, this was done by `AnimationViewModel` and could become inconsistent in certain cases. [#4007](https://github.com/AnalyticalGraphicsInc/cesium/pull/4007) * Updated [Google Cardboard Sandcastle example](http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Cardboard.html&label=Showcase). * Added [hot air balloon](https://github.com/AnalyticalGraphicsInc/cesium/tree/master/Apps/SampleData/models/CesiumBalloon) sample model. diff --git a/Source/Core/Transforms.js b/Source/Core/Transforms.js index c9ad8f74d378..74e326d264cf 100644 --- a/Source/Core/Transforms.js +++ b/Source/Core/Transforms.js @@ -402,6 +402,8 @@ define([ * var pitch = Cesium.Math.PI_OVER_FOUR; * var roll = 0.0; * var transform = Cesium.Transforms.aircraftHeadingPitchRollToFixedFrame(center, heading, pitch, roll); + * + * @private */ Transforms.aircraftHeadingPitchRollToFixedFrame = function(origin, heading, pitch, roll, ellipsoid, result) { // checks for required parameters happen in the called functions @@ -464,6 +466,8 @@ define([ * var pitch = Cesium.Math.PI_OVER_FOUR; * var roll = 0.0; * var quaternion = Cesium.Transforms.aircraftHeadingPitchRollQuaternion(center, heading, pitch, roll); + * + * @private */ Transforms.aircraftHeadingPitchRollQuaternion = function(origin, heading, pitch, roll, ellipsoid, result) { // checks for required parameters happen in the called functions