Comment fixes

This commit is contained in:
Ryan Lester 2016-09-22 23:01:32 -04:00
parent 0d4e17b627
commit 861f4bdcd1
2 changed files with 3 additions and 2 deletions

View File

@ -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 ) +

View File

@ -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#
*/