Make ol.Coordinate inherit from goog.math.Vec2
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
goog.provide('ol.Coordinate');
|
goog.provide('ol.Coordinate');
|
||||||
|
|
||||||
goog.require('goog.math.Coordinate');
|
goog.require('goog.math.Vec2');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {goog.math.Coordinate}
|
* @extends {goog.math.Vec2}
|
||||||
* @param {number} x X.
|
* @param {number} x X.
|
||||||
* @param {number} y Y.
|
* @param {number} y Y.
|
||||||
*/
|
*/
|
||||||
ol.Coordinate = function(x, y) {
|
ol.Coordinate = function(x, y) {
|
||||||
goog.base(this, x, y);
|
goog.base(this, x, y);
|
||||||
};
|
};
|
||||||
goog.inherits(ol.Coordinate, goog.math.Coordinate);
|
goog.inherits(ol.Coordinate, goog.math.Vec2);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user