Skip to content

Commit

Permalink
Use Cesium prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
shunter committed Jul 7, 2014
1 parent 64315f0 commit f08f491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/mergeSort.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ define([
* // Assume array contains BoundingSpheres in world coordinates.
* // Sort them in ascending order of distance from the camera.
* var position = camera.positionWC;
* mergeSort(array, function(a, b, position) {
* return BoundingSphere.distanceSquaredTo(b, position) - BoundingSphere.distanceSquaredTo(a, position);
* Cesium.mergeSort(array, function(a, b, position) {
* return Cesium.BoundingSphere.distanceSquaredTo(b, position) - Cesium.BoundingSphere.distanceSquaredTo(a, position);
* }, position);
*/
var mergeSort = function(array, comparator, userDefinedObject) {
Expand Down

0 comments on commit f08f491

Please sign in to comment.