Remove unused variables in sphere

This commit is contained in:
Tom Payne
2013-05-21 12:49:12 +02:00
parent 20982bba31
commit 8b539cd4cc

View File

@@ -54,7 +54,6 @@ ol.Sphere.prototype.cosineDistance = function(c1, c2) {
* @return {number} Cross-track distance.
*/
ol.Sphere.prototype.crossTrackDistance = function(c1, c2, c3) {
var d12 = this.cosineDistance(c1, c2);
var d13 = this.cosineDistance(c1, c2);
var theta12 = goog.math.toRadians(this.initialBearing(c1, c2));
var theta13 = goog.math.toRadians(this.initialBearing(c1, c3));