Skip to content

Commit

Permalink
Merge pull request #8188 from AnalyticalGraphicsInc/fix-ie
Browse files Browse the repository at this point in the history
No array.fill in ie
  • Loading branch information
mramato authored Sep 20, 2019
2 parents 3007bdd + a5f6989 commit d58cd99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions Apps/Sandcastle/gallery/Labels.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta name="description" content="Create and style textual labels.">
<meta name="cesium-sandcastle-labels" content="Showcases">
<meta name="cesium-sandcastle-labels" content="Showcases, Beginner">
<title>Cesium Demo</title>
<script type="text/javascript" src="../Sandcastle-header.js"></script>
<script type="text/javascript" src="../../../ThirdParty/requirejs-2.1.20/require.js"></script>
<script type="text/javascript">
require.config({
baseUrl : '../../../Source',
waitSeconds : 60
});
if(typeof require === 'function') {
require.config({
baseUrl : '../../../Source',
waitSeconds : 120
});
}
</script>
</head>
<body class="sandcastle-loading" data-sandcastle-bucket="bucket-requirejs.html">
Expand Down
4 changes: 2 additions & 2 deletions Source/Core/EllipsoidGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ define([

var vertexCount = numThetas * numPhis * vertexMultiplier;
var positions = new Float64Array(vertexCount * 3);
var isInner = new Array(vertexCount).fill(false);
var negateNormal = new Array(vertexCount).fill(false);
var isInner = arrayFill(new Array(vertexCount), false);
var negateNormal = arrayFill(new Array(vertexCount), false);

// Multiply by 6 because there are two triangles per sector
var indexCount = slicePartitions * stackPartitions * vertexMultiplier;
Expand Down

0 comments on commit d58cd99

Please sign in to comment.