From 6323489199a76fccc76127e3d44d5ee42bba026b Mon Sep 17 00:00:00 2001 From: Kangning Li Date: Wed, 14 Feb 2018 15:27:19 -0500 Subject: [PATCH 1/2] Math.cbrt -> Math.pow --- Source/Scene/PointCloud3DTileContent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Scene/PointCloud3DTileContent.js b/Source/Scene/PointCloud3DTileContent.js index 653d1c0e7c1b..7fbc50ceb4a8 100644 --- a/Source/Scene/PointCloud3DTileContent.js +++ b/Source/Scene/PointCloud3DTileContent.js @@ -466,7 +466,7 @@ define([ // Typical use case is leaves, where lower estimates of interpoint distance might // lead to underattenuation. var sphereVolume = content._tile.contentBoundingVolume.boundingSphere.volume(); - content._baseResolutionApproximation = Math.cbrt(sphereVolume / pointsLength); + content._baseResolutionApproximation = Math.pow(sphereVolume / pointsLength, 1/3); // IE doesn't support cbrt } var scratchPointSizeAndTilesetTimeAndGeometricErrorAndDepthMultiplier = new Cartesian4(); From 54161e2fec3b8776a8e229828dc8f2e20032bc30 Mon Sep 17 00:00:00 2001 From: Kangning Li Date: Wed, 14 Feb 2018 15:30:34 -0500 Subject: [PATCH 2/2] update CHANGES.md --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 0dcfd8ed5311..f911533386f6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ Change Log ##### Fixes :wrench: * Fixed bug where AxisAlignedBoundingBox did not copy over center value when cloning an undefined result. [#6183](https://github.com/AnalyticalGraphicsInc/cesium/pull/6183) +* Fixed bug where 3D Tiles Point Clouds would fail in Internet Explorer. [#6220](https://github.com/AnalyticalGraphicsInc/cesium/pull/6220) ### 1.42.1 - 2018-02-01 _This is an npm-only release to fix an issue with using Cesium in Node.js.__