Skip to content

Commit

Permalink
Merge pull request #11805 from CesiumGS/cwb-terrain-heights
Browse files Browse the repository at this point in the history
Update `approximateHeights.json` for CWB
  • Loading branch information
ggetz authored Feb 1, 2024
2 parents 176bd4e + f1c24c6 commit 8e59fbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
- Parts of the documentation have been updated to resolve potential issues with the generated TypedScript definitions. [#11776](https://github.com/CesiumGS/cesium/pull/11776)
- Fixed type definition for `Camera.constrainedAxis`. [#11475](https://github.com/CesiumGS/cesium/issues/11475)
- Fixed a geometry displacement on iOS devices that was caused by NaN value in `czm_translateRelativeToEye` function. [#7100](https://github.com/CesiumGS/cesium/issues/7100)
- Updated `approximateTerrainHeights.json` to account for CWB heights to help with ground primitives when using Cesium World Bathymetry [#11805](https://github.com/CesiumGS/cesium/pull/11805)

#### @cesium/widgets

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("Core/ApproximateTerrainHeights", function () {
Rectangle.fromDegrees(-121.0, 10.0, -120.0, 11.0)
);
expect(result.minimumTerrainHeight).toEqualEpsilon(
-476.12571188755,
-5269.86,
CesiumMath.EPSILON8
);
expect(result.maximumTerrainHeight).toEqualEpsilon(
Expand Down

0 comments on commit 8e59fbb

Please sign in to comment.