diff --git a/src/point.js b/src/point.js index fa35eb18..72c91378 100644 --- a/src/point.js +++ b/src/point.js @@ -152,8 +152,8 @@ $.Point.prototype = { * Compute the squared distance between this point and another point. * Useful for optimizing things like comparing distances. * @function - * @param {OpenSeadragon.Point} point The point to compute the distance with. - * @returns {Number} The distance between the 2 points + * @param {OpenSeadragon.Point} point The point to compute the squared distance with. + * @returns {Number} The squared distance between the 2 points */ squaredDistanceTo: function( point ) { return Math.pow( this.x - point.x, 2 ) + diff --git a/src/tile.js b/src/tile.js index 350cd62e..72776aac 100644 --- a/src/tile.js +++ b/src/tile.js @@ -156,6 +156,7 @@ $.Tile = function(level, x, y, bounds, exists, url, context2D) { /** * The squared distance of this tile to the viewport center. * Use for comparing tiles. + * @private * @member {Number} squaredDistance * @memberof OpenSeadragon.Tile# */