bruce-cesium 3.9.3 → 3.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bruce-cesium.es5.js +10 -6
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +6 -2
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/entity-render-engine.js +6 -2
- package/dist/lib/rendering/entity-render-engine.js.map +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-cesium.umd.js
CHANGED
|
@@ -6448,11 +6448,15 @@
|
|
|
6448
6448
|
recordHeightRef: heightRef,
|
|
6449
6449
|
returnHeightRef: heightRef
|
|
6450
6450
|
});
|
|
6451
|
+
/*
|
|
6452
|
+
We used to avoid clamp-to-ground on 3D models as Cesium had bugs with it.
|
|
6453
|
+
|
|
6451
6454
|
if (heightRef == Cesium.HeightReference.CLAMP_TO_GROUND) {
|
|
6452
|
-
|
|
6455
|
+
const carto = Cesium.Cartographic.fromCartesian(pos3d);
|
|
6453
6456
|
pos3d = Cesium.Cartesian3.fromRadians(EnsureNumber(carto.longitude), EnsureNumber(carto.latitude), 0);
|
|
6454
6457
|
heightRef = Cesium.HeightReference.RELATIVE_TO_GROUND;
|
|
6455
6458
|
}
|
|
6459
|
+
*/
|
|
6456
6460
|
var blendMode = null;
|
|
6457
6461
|
var blendAmount = null;
|
|
6458
6462
|
var color = null;
|
|
@@ -24094,7 +24098,7 @@
|
|
|
24094
24098
|
ViewRenderEngine.Render = Render;
|
|
24095
24099
|
})(exports.ViewRenderEngine || (exports.ViewRenderEngine = {}));
|
|
24096
24100
|
|
|
24097
|
-
var VERSION = "3.9.
|
|
24101
|
+
var VERSION = "3.9.4";
|
|
24098
24102
|
|
|
24099
24103
|
exports.VERSION = VERSION;
|
|
24100
24104
|
exports.CesiumParabola = CesiumParabola;
|