Skip to content

Commit

Permalink
increase tollerance for depth hack
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-cooper committed Jan 7, 2019
1 parent e2f8232 commit 30eb900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/ApproximateTerrainHeights.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ define([
initPromise = Resource.fetchJson(buildModuleUrl('Assets/approximateTerrainHeights.json'))
.then(function(json) {
// PROPELLER HACK: Allow rendering of ground primitives with negative WGS84 elevation
var MAX_HOLE_DEPTH = 200;
var MAX_HOLE_DEPTH = 250;
Object.keys(json).map(function(key) {
json[key][0] -= MAX_HOLE_DEPTH;
});
Expand Down

0 comments on commit 30eb900

Please sign in to comment.