Skip to content

Commit

Permalink
Merge pull request CesiumGS#1580 from AnalyticalGraphicsInc/replaceGe…
Browse files Browse the repository at this point in the history
…tSetContext

Replace get/set functions with properties : Context
  • Loading branch information
pjcozzi committed Mar 28, 2014
2 parents f36407f + c58abc0 commit 0ef2bf8
Show file tree
Hide file tree
Showing 80 changed files with 965 additions and 1,117 deletions.
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Box Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(1.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(1.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
4 changes: 2 additions & 2 deletions Apps/Sandcastle/gallery/Circle Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(3.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(3.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down Expand Up @@ -105,7 +105,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Corridor Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(3.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(3.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Cylinder Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Ellipse Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(3.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(3.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Ellipsoid Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(3.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(3.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Extent Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
12 changes: 6 additions & 6 deletions Apps/Sandcastle/gallery/Geometry and Appearances.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down Expand Up @@ -281,7 +281,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down Expand Up @@ -396,7 +396,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down Expand Up @@ -445,7 +445,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down Expand Up @@ -742,7 +742,7 @@
},
// Override the appearance render state to change the
// line width on system's that support it (Linx/Mac).
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down Expand Up @@ -902,7 +902,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Polygon Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Polyline Volume Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Simple Polyline.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(2.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(2.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Sphere Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(3.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(3.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Wall Outline.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
depthTest : {
enabled : true
},
lineWidth : Math.min(4.0, scene.context.getMaximumAliasedLineWidth())
lineWidth : Math.min(4.0, scene.context.maximumAliasedLineWidth)
}
})
}));
Expand Down
Loading

0 comments on commit 0ef2bf8

Please sign in to comment.