From 2c559431e52ac074c00e4bdca6b7ccfaead24689 Mon Sep 17 00:00:00 2001 From: Zoran Kokeza Date: Sat, 7 Nov 2020 21:58:44 +0100 Subject: [PATCH 1/2] Add mixing return to EllipsoidTangentPlane.fromPoints --- Source/Core/EllipsoidTangentPlane.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/EllipsoidTangentPlane.js b/Source/Core/EllipsoidTangentPlane.js index 254e2891e27a..f0393ba95470 100644 --- a/Source/Core/EllipsoidTangentPlane.js +++ b/Source/Core/EllipsoidTangentPlane.js @@ -137,6 +137,7 @@ var tmp = new AxisAlignedBoundingBox(); * * @param {Cartesian3[]} cartesians The list of positions surrounding the center point. * @param {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid to use. + * @returns {EllipsoidTangentPlane} The new instance of EllipsoidTangentPlane. */ EllipsoidTangentPlane.fromPoints = function (cartesians, ellipsoid) { //>>includeStart('debug', pragmas.debug); From eaee8905e79da07031668f66f6b4c01b40520ee9 Mon Sep 17 00:00:00 2001 From: Zoran Kokeza Date: Sat, 7 Nov 2020 22:06:25 +0100 Subject: [PATCH 2/2] Update CHANGES.md --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index cf3bf335d47a..a40d05b8d4b8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ ##### Fixes :wrench: - Fixed an issue where tileset styles would be reapplied every frame when a tileset has a style and `tileset.preloadWhenHidden` is true and `tileset.show` is false. Also fixed a related issue where styles would be reapplied if the style being set is the same as the active style. [#9223](https://github.com/CesiumGS/cesium/pull/9223) +- Fixed JSDoc and TypeScript type definitions for `EllipsoidTangentPlane.fromPoints` which didn't listed a return type. [#9227](https://github.com/CesiumGS/cesium/pull/9227) ### 1.75 - 2020-11-02