Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into tileset-performance-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jjspace committed Mar 14, 2024
2 parents edcf75e + 0fc0234 commit 2278df3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Fixed issue with `BingMapsImageryProvider` where given culture option is ineffective [#11695](https://github.com/CesiumGS/cesium/issues/11695)
- Fixed a bug where dynamic geometries caused the Scene to continuously render when running in requestRenderMode [#6631](https://github.com/CesiumGS/cesium/issues/6631)
- Fixed a bug with performance in scenes with multiple tilesets [#11878](https://github.com/CesiumGS/cesium/pull/11878)
- Fixes issue with PolygonGeometry uvs are improperly computed [#11767](https://github.com/CesiumGS/cesium/issues/11767)
- Fixed voxel rendering bugs for non-spherical ellipsoid shapes [#11848](https://github.com/CesiumGS/cesium/pull/11848)

##### Additions :tada:
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,3 +385,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu
- [Pavlo Skakun](https://github.com/p-skakun)
- [Taylor Huffman](https://github.com/huffmantayler)
- [蒋宇梁](https://github.com/s3xysteak)
- [dslming](https://github.com/dslming)
2 changes: 1 addition & 1 deletion packages/engine/Source/Core/PolygonGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function computeAttributes(options) {
scratchPosition
);
p = ellipsoid.scaleToGeodeticSurface(p, p);
const st = projectTo2d(p, appendTextureCoordinatesCartesian2);
const st = projectTo2d([p], appendTextureCoordinatesCartesian2)[0];
Cartesian2.subtract(st, origin, st);

const stx = CesiumMath.clamp(st.x / boundingRectangle.width, 0, 1);
Expand Down

0 comments on commit 2278df3

Please sign in to comment.