Skip to content

Commit

Permalink
Update CHANGES, small cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Sep 16, 2024
1 parent 3a37ba1 commit bc0770a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
17 changes: 17 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

### ? - ?

##### Breaking Changes :mega:

- Renamed `shouldContentContinueUpdating` to `getMightHaveLatentChildren` and `setContentShouldContinueUpdating` to `setMightHaveLatentChildren` on the `Tile` class.

##### Additions :tada:

- Added `sampleHeightMostDetailed` method to `Tileset`.
- `AxisAlignedBox` now has `constexpr` constructors.

##### Fixes :wrench:

- Fixed a bug that prevented use of `Tileset` with a nullptr `IPrepareRendererResources`.
- Fixed a bug in `IntersectionTests::rayOBBParametric` that could cause incorrect results for some oriented bounding boxes.
- `GltfUtilities::intersectRayGltfModel` now reports a warning when given a model it can't compute the intersection with because it uses required extensions that are not supported.

### v0.39.0 - 2024-09-02

##### Breaking Changes :mega:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@ class CESIUM3DTILESSELECTION_API Tileset final {
* expressed in meters above the ellipsoid (usually WGS84), which should not
* be confused with a height above mean sea level.
*
* Note that {@link Tileset::updateView} must be called periodically, or else
* the returned `Future` will never resolve. If you are not using this tileset
* for visualization, you can call `updateView` with an empty list of
* frustums.
*
* @param positions The positions for which to sample heights.
* @return A future that asynchronously resolves to the result of the height
* query.
Expand Down
5 changes: 0 additions & 5 deletions Cesium3DTilesSelection/src/Tileset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ using namespace CesiumGeospatial;
using namespace CesiumRasterOverlays;
using namespace CesiumUtility;

// 10,000 meters above ellisoid
// Highest point on ellipsoid is Mount Everest at 8,848 m
// Nothing intersectable should be above this
#define RAY_ORIGIN_HEIGHT 10000.0

namespace Cesium3DTilesSelection {

Tileset::Tileset(
Expand Down

0 comments on commit bc0770a

Please sign in to comment.