Skip to content

Commit

Permalink
Expand bounding box downward to include skirt, at least for non-upsam…
Browse files Browse the repository at this point in the history
…pled tiles
  • Loading branch information
kainino0x committed Jun 18, 2015
1 parent 2f520c6 commit 53b46b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/CesiumTerrainProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ define([
if (rectangle.width < CesiumMath.PI_OVER_TWO + CesiumMath.EPSILON5) {
// Here, rectangle.width < pi/2, and rectangle.height < pi
// (though it would still work with rectangle.width up to pi)
orientedBoundingBox = OrientedBoundingBox.fromRectangle(rectangle, minimumHeight, maximumHeight, provider._tilingScheme.ellipsoid);
orientedBoundingBox = OrientedBoundingBox.fromRectangle(rectangle, minimumHeight - skirtHeight, maximumHeight, provider._tilingScheme.ellipsoid);
}

return new QuantizedMeshTerrainData({
Expand Down

0 comments on commit 53b46b4

Please sign in to comment.