You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Changed `Globe.pick` to return a position in ECEF coordinates regardless of the current scene mode. This will only effect you if you were working around a bug to make `Globe.pick` work in 2D and Columbus View. Use `Globe.pickWorldCoordinates` to get the position in world coordinates that correlate to the current scene mode. [#6859](https://github.com/AnalyticalGraphicsInc/cesium/pull/6859)
8
9
9
10
##### Additions :tada:
10
11
* Added `ClippingPlaneCollection.planeAdded` and `ClippingPlaneCollection.planeRemoved` events. `planeAdded` is raised when a new plane is added to the collection and `planeRemoved` is raised when a plane is removed. [#6875](https://github.com/AnalyticalGraphicsInc/cesium/pull/6875)
@@ -13,6 +14,9 @@ Change Log
13
14
##### Fixes :wrench:
14
15
* The Geocoder widget now takes terrain altitude into account when calculating its final destination.
15
16
* The Viewer widget now takes terrain altitude into account when zooming or flying to imagery layers.
17
+
* Fixed `getPickRay` in 2D. [#2480](https://github.com/AnalyticalGraphicsInc/cesium/issues/2480)
18
+
* Fixed `Globe.pick` for 2D and Columbus View [#6859](https://github.com/AnalyticalGraphicsInc/cesium/pull/6859)
19
+
* Fixed imagery layer feature picking in 2D and Columbus view [#6859](https://github.com/AnalyticalGraphicsInc/cesium/pull/6859)
16
20
* Fixed bug that caused a new `ClippingPlaneCollection` to be created every frame when used with a model entity [#6872](https://github.com/AnalyticalGraphicsInc/cesium/pull/6872)
17
21
* Fixed crash when rendering translucent objects when all shadow maps in the scene set `fromLightSource` to false. [#6883](https://github.com/AnalyticalGraphicsInc/cesium/pull/6883)
Copy file name to clipboardexpand all lines: Source/Scene/Globe.js
+28-6
Original file line number
Diff line number
Diff line change
@@ -407,14 +407,11 @@ define([
407
407
* @param {Ray} ray The ray to test for intersection.
408
408
* @param {Scene} scene The scene.
409
409
* @param {Cartesian3} [result] The object onto which to store the result.
410
-
* @returns {Cartesian3|undefined} The intersection or <code>undefined</code> if none was found.
410
+
* @returns {Cartesian3|undefined} The intersection or <code>undefined</code> if none was found. The returned position is in projected coordinates for 2D and Columbus View.
411
411
*
412
-
* @example
413
-
* // find intersection of ray through a pixel and the globe
414
-
* var ray = viewer.camera.getPickRay(windowCoordinates);
0 commit comments