Skip to content

Commit

Permalink
Update CHANGES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeshurun Hembd committed Jan 25, 2025
1 parent f648114 commit 41dbe65
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
#### Breaking Changes :mega:

- Changed behavior of `DataSourceDisplay.ready` to always stay `true` once it is initially set to `true`. [#12429](https://github.com/CesiumGS/cesium/pull/12429)
- Updated `Cesium3DTilesVoxelProvider` to load glTF tiles using the new [`EXT_primitive_voxels` extension](https://github.com/CesiumGS/glTF/pull/69). Tilesets using the previous custom JSON format are no longer supported. [#12432](https://github.com/CesiumGS/cesium/pull/12432)
- Updated the `requestData` method of the `VoxelProvider` interface to return a `Promise` to a `VoxelContent`. Custom providers should now use the `VoxelContent.fromMetadataArray` method to construct the returned data object. For example:

```js
CustomVoxelProvider.prototype.requestData = function (options) {
const metadataColumn = new Float32Array(options.dataLength);
// ... Fill metadataColumn with metadata values ...
const content = VoxelContent.fromMetadataArray([metadataColumn]);
return Promise.resolve(content);
};
```

#### Fixes :wrench:

Expand Down

0 comments on commit 41dbe65

Please sign in to comment.